From: Volker Lendecke Date: Sat, 16 May 2009 16:20:02 +0000 (+0200) Subject: Fix static linking of vfs_notify_fam X-Git-Tag: tdb-1.1.5~509 X-Git-Url: http://git.samba.org/samba.git/?p=ira%2Fwip.git;a=commitdiff_plain;h=31a2347a0af9a6f36c3f02d25327146659ee343f Fix static linking of vfs_notify_fam --- diff --git a/source3/Makefile.in b/source3/Makefile.in index f5e1f9eca5d..31ef29ad15a 100644 --- a/source3/Makefile.in +++ b/source3/Makefile.in @@ -1425,7 +1425,7 @@ bin/.dummy: bin/smbd@EXEEXT@: $(BINARY_PREREQS) $(SMBD_OBJ) @LIBTALLOC_TARGET@ @LIBTDB_TARGET@ @LIBWBCLIENT_TARGET@ @BUILD_POPT@ @echo Linking $@ - @$(CC) -o $@ $(SMBD_OBJ) $(LDFLAGS) $(LDAP_LIBS) \ + @$(CC) -o $@ $(SMBD_OBJ) $(LDFLAGS) $(LDAP_LIBS) @SMBD_FAM_LIBS@ \ $(KRB5LIBS) $(DYNEXP) $(PRINT_LIBS) $(AUTH_LIBS) \ $(ACL_LIBS) $(PASSDB_LIBS) $(LIBS) $(DNSSD_LIBS) $(AVAHI_LIBS) \ $(POPT_LIBS) @SMBD_LIBS@ $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \ diff --git a/source3/configure.in b/source3/configure.in index 8adf24e6efd..acbefe6d7b3 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -6181,6 +6181,11 @@ MODULE_idmap_nss=STATIC MODULE_nss_info_template=STATIC +if test x"$MODULE_vfs_notify_fam" = xSTATIC ; then + SMBD_FAM_LIBS="$SMB_FAM_LIBS" + AC_SUBST(SMBD_FAM_LIBS) +fi + AC_ARG_WITH(static-modules, [AS_HELP_STRING([--with-static-modules=MODULES], [Comma-separated list of names of modules to statically link in])], [ if test $withval; then