From 547eef2cf1a7a279a3be81736f475120785af2ef Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sat, 11 Nov 2006 22:44:28 +0000 Subject: r19670: Reduce the number of unresolved symbols when building with shared libraries. (This used to be commit 4422031d1d9307539832cee165c5071ff12943e7) --- source4/auth/credentials/config.mk | 2 +- source4/build/smb_build/makefile.pm | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'source4') diff --git a/source4/auth/credentials/config.mk b/source4/auth/credentials/config.mk index 5bf7aa891f..5cf1310f5a 100644 --- a/source4/auth/credentials/config.mk +++ b/source4/auth/credentials/config.mk @@ -7,7 +7,7 @@ OBJ_FILES = credentials.o \ credentials_files.o \ credentials_ntlm.o PUBLIC_DEPENDENCIES = \ - LIBCLI_AUTH SECRETS LIBCRYPTO + LIBCLI_AUTH SECRETS LIBCRYPTO KERBEROS PRIVATE_DEPENDENCIES = CREDENTIALS_KRB5 # End SUBSYSTEM CREDENTIALS ################################# diff --git a/source4/build/smb_build/makefile.pm b/source4/build/smb_build/makefile.pm index eab713a4f3..0da3aa9e58 100644 --- a/source4/build/smb_build/makefile.pm +++ b/source4/build/smb_build/makefile.pm @@ -288,8 +288,9 @@ $ctx->{SHAREDDIR}/$ctx->{LIBRARY_REALNAME}: \$($ctx->{TYPE}_$ctx->{NAME}_DEPEND_ \@echo Linking \$\@ \@mkdir -p $ctx->{SHAREDDIR} \@\$(SHLD) \$(SHLD_FLAGS) -o \$\@ \$(INSTALL_LINK_FLAGS) \\ + \$($ctx->{TYPE}_$ctx->{NAME}\_FULL_OBJ_LIST) \\ \$($ctx->{TYPE}_$ctx->{NAME}_LINK_FLAGS) $extraflags \\ - \$($ctx->{TYPE}_$ctx->{NAME}\_FULL_OBJ_LIST) $soarg \\ + $soarg \\ $init_obj $singlesoarg __EOD__ ); -- cgit