summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorRichard Sharpe <sharpe@samba.org>2003-11-10 05:34:51 +0000
committerRichard Sharpe <sharpe@samba.org>2003-11-10 05:34:51 +0000
commit970c1c73db7e2df961af286af609a95d415b5811 (patch)
treec4fa11918edca462e42720da20ced04f0ee679c8 /source3
parent39ccc0f5157ba4f2c574d73b8e484211a24b677b (diff)
downloadsamba-970c1c73db7e2df961af286af609a95d415b5811.tar.gz
samba-970c1c73db7e2df961af286af609a95d415b5811.tar.bz2
samba-970c1c73db7e2df961af286af609a95d415b5811.zip
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)
Diffstat (limited to 'source3')
-rw-r--r--source3/configure.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/configure.in b/source3/configure.in
index db9f3d4598..e14ea29050 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])