r21610: put libraries preceeding the @SONAMEFLAG@ variable as on AIX this ends up...
authorGerald Carter <jerry@samba.org>
Thu, 1 Mar 2007 03:05:51 +0000 (03:05 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:18:17 +0000 (12:18 -0500)
(This used to be commit c4621de39bb9ad8d366d776b27df45dc07f782ba)

source3/Makefile.in

index 8c32aa6a0694bcdd167b66f00622c5488e22b567..6b8eb9bb18894ec10ea1c215340ef2608c6a9b8e 100644 (file)
@@ -1372,8 +1372,8 @@ bin/winbindd@EXEEXT@: proto_exists $(WINBINDD_OBJ) @BUILD_POPT@ bin/.dummy
 
 bin/pam_winbind.@SHLIBEXT@: $(PAM_WINBIND_OBJ) bin/.dummy
        @echo "Linking shared library $@"
-       @$(SHLD) $(LDSHFLAGS) -o $@ $(PAM_WINBIND_OBJ) \
-               @SONAMEFLAG@`basename $@` -lpam @INIPARSERLIBS@
+       @$(SHLD) $(LDSHFLAGS) -o $@ $(PAM_WINBIND_OBJ) -lpam @INIPARSERLIBS@ $(GPLIBS) \
+               @SONAMEFLAG@`basename $@` 
 
 bin/builtin.@SHLIBEXT@: proto_exists $(AUTH_BUILTIN_OBJ)
        @echo "Building plugin $@"