summaryrefslogtreecommitdiff
path: root/source4/build/smb_build/makefile.pm
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-11-11 22:44:28 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:25:27 -0500
commit547eef2cf1a7a279a3be81736f475120785af2ef (patch)
tree9e027d26fa8742a10f7ab12550ac5718e526a358 /source4/build/smb_build/makefile.pm
parentc7792701169baa0ab0d86d5f2b221dd3e7665679 (diff)
downloadsamba-547eef2cf1a7a279a3be81736f475120785af2ef.tar.gz
samba-547eef2cf1a7a279a3be81736f475120785af2ef.tar.bz2
samba-547eef2cf1a7a279a3be81736f475120785af2ef.zip
r19670: Reduce the number of unresolved symbols when building with shared libraries.
(This used to be commit 4422031d1d9307539832cee165c5071ff12943e7)
Diffstat (limited to 'source4/build/smb_build/makefile.pm')
-rw-r--r--source4/build/smb_build/makefile.pm3
1 files changed, 2 insertions, 1 deletions
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__
);