From 970c1c73db7e2df961af286af609a95d415b5811 Mon Sep 17 00:00:00 2001 From: Richard Sharpe Date: Mon, 10 Nov 2003 05:34:51 +0000 Subject: [PATCH] Fix a problem with configure on *BSD systems. Make sure we add -liconv etc to LDFLAGS. One of the problems with configure/autoconf is that there seems to be no separation of LDLFAGS etc in configure from the LDFLAGS it is building for the Makefile. (This used to be commit 63d7698208a0fc4dfd2e3158f5ccbb1b6d9a6baf) --- source3/configure.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source3/configure.in b/source3/configure.in index db9f3d45987..e14ea29050c 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -1689,7 +1689,9 @@ dnl ]) if test x"$jm_cv_lib_iconv" != x; then LIBS="$LIBS -l$jm_cv_lib_iconv" fi + dnl Add the flags we need to CPPFLAGS and LDFLAGS CFLAGS_ADD_DIR(CPPFLAGS, "$i/include") + LIB_ADD_DIR(LDFLAGS, "$i/lib") export CPPFLAGS AC_DEFINE(HAVE_NATIVE_ICONV,1,[Whether to use native iconv]) AC_DEFINE_UNQUOTED(DEFAULT_DOS_CHARSET,$default_dos_charset,[Default dos charset name]) -- 2.11.4.GIT