diff options
author | Michael Adam <obnox@samba.org> | 2008-02-13 13:48:00 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-02-13 13:48:51 +0100 |
commit | 1fee36432be65bd9e7477cfe9fb567de352399c3 (patch) | |
tree | d3dad66a2b9d5f4325af594ad030ebdcdef56759 /source3/configure.in | |
parent | b397b5cb8f0a9ca5d5b2fa3349635a4cebd81779 (diff) | |
download | samba-1fee36432be65bd9e7477cfe9fb567de352399c3.tar.gz samba-1fee36432be65bd9e7477cfe9fb567de352399c3.tar.xz samba-1fee36432be65bd9e7477cfe9fb567de352399c3.zip |
Add -L./bin to LDFLAGS when building shared libs.
Formerly this was only needed for libwbclient, but now that we start
using more shared libs internally, this is needed more globally
to support linking internal libs dynamically on systemy without winbindd.
Michael
(This used to be commit ec793572187228deda7210dab02882e4e09f1972)
Diffstat (limited to 'source3/configure.in')
-rw-r--r-- | source3/configure.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source3/configure.in b/source3/configure.in index f3187aa9151..cde3c0b76ed 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -1996,6 +1996,10 @@ if test "$enable_shared" = yes -a "${ac_cv_gnu_ld_version_script}" = yes; then DSO_EXPORTS=\$\(DSO_EXPORTS_CMD\) fi +if test x"$BLDSHARED" = x"true" ; then + LDFLAGS="$LDFLAGS -L./bin" +fi + AC_MSG_RESULT($BLDSHARED) AC_MSG_CHECKING([LDFLAGS]) @@ -6284,7 +6288,6 @@ if test $BLDSHARED = true -a x"$HAVE_WINBIND" = x"yes" -a x"$BUILD_LIBWBCLIENT_S INSTALL_LIBWBCLIENT=installlibwbclient UNINSTALL_LIBWBCLIENT=uninstalllibwbclient WINBIND_LIBS="-lwbclient" - LDFLAGS="$LDFLAGS -L./bin" else LIBWBCLIENT_STATIC=bin/libwbclient.a fi |