Project

General

Profile

Bug #937 ยป 0033-Autotools-Fix-duplicate-lcharset-on-LIBS.patch

Marko Lindqvist, 10/07/2024 05:53 PM

View differences:

m4/locale.m4
[LIBS="$LIBS -lcharset"
AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <libcharset.h>]], [[locale_charset()]])],
[dnl Link against libcharset also when building actual freeciv
lc_save_LIBS="$LIBS -lcharset"
lc_save_LIBS="$lc_save_LIBS -lcharset"
am_cv_libcharset=yes],
[am_cv_libcharset=no])])
LIBS="$lc_save_LIBS"
    (1-1/1)