diff options
-rw-r--r-- | source3/Makefile.in | 2 | ||||
-rw-r--r-- | source3/configure.in | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in index f5e1f9eca5..31ef29ad15 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 8adf24e6ef..acbefe6d7b 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 |