From 219868a4b5ed114b3b7c87b6c5c776c8f6b2e530 Mon Sep 17 00:00:00 2001 From: Peter Volkov Date: Wed, 15 Jul 2009 17:36:25 +0200 Subject: [PATCH] s3: make linking of cifs.upcall --as-needed safe Part of a fix for bug #6105. See http://www.gentoo.org/proj/en/qa/asneeded.xml for details. (cherry picked from commit 2df4550aae1e326511fe4e7e0d2d98be3e578caf) (cherry picked from commit b9c07dd26d5177d25b4e136b790ee279aeb63887) --- source3/Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/Makefile.in b/source3/Makefile.in index 4001eda987a..b74a074d3e2 100644 --- a/source3/Makefile.in +++ b/source3/Makefile.in @@ -1468,7 +1468,7 @@ bin/umount.cifs@EXEEXT@: $(BINARY_PREREQS) $(CIFS_UMOUNT_OBJ) bin/cifs.upcall@EXEEXT@: $(BINARY_PREREQS) $(CIFS_UPCALL_OBJ) $(LIBSMBCLIENT_OBJ1) @LIBTALLOC_TARGET@ @LIBTDB_TARGET@ @LIBWBCLIENT_TARGET@ @echo Linking $@ @$(CC) -o $@ $(CIFS_UPCALL_OBJ) $(DYNEXP) $(LDFLAGS) \ - -lkeyutils $(LIBS) $(LIBSMBCLIENT_OBJ1) $(KRB5LIBS) \ + $(LIBSMBCLIENT_OBJ1) $(LIBS) -lkeyutils $(KRB5LIBS) \ $(LDAP_LIBS) $(LIBTALLOC_LIBS) $(LIBWBCLIENT_LIBS) \ $(LIBTDB_LIBS) $(NSCD_LIBS) -- 2.11.4.GIT