summaryrefslogtreecommitdiff
path: root/source4/build/smb_build/makefile.pm
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-02-16 19:19:02 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-02-16 19:19:02 +0100
commit0b8fe26451eb9253d6cdc5c7b138d31d61c4841d (patch)
treef96c93dfac079fb69e1624db53966ea19ceb5f2d /source4/build/smb_build/makefile.pm
parentb66ee2ed22754dd44b20c06e573072e328d9a3dd (diff)
downloadsamba-0b8fe26451eb9253d6cdc5c7b138d31d61c4841d.tar.gz
samba-0b8fe26451eb9253d6cdc5c7b138d31d61c4841d.tar.bz2
samba-0b8fe26451eb9253d6cdc5c7b138d31d61c4841d.zip
Move logic to makefile
(This used to be commit 412c1c2c1eabec25fb9d6506ece06032da798ebe)
Diffstat (limited to 'source4/build/smb_build/makefile.pm')
-rw-r--r--source4/build/smb_build/makefile.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/build/smb_build/makefile.pm b/source4/build/smb_build/makefile.pm
index fdfdc79b10..d782ec6300 100644
--- a/source4/build/smb_build/makefile.pm
+++ b/source4/build/smb_build/makefile.pm
@@ -217,9 +217,9 @@ sub SharedLibrary($$)
}
}
- if (defined($ctx->{LIBRARY_SONAME})) {
- $lns .= "\n\t\@ln -fs $ctx->{LIBRARY_REALNAME} $ctx->{SHAREDDIR}/$ctx->{LIBRARY_DEBUGNAME}";
- }
+ $lns .= "\nifdef $ctx->{NAME}_SOVERSION";
+ $lns .= "\n\t\@ln -fs $ctx->{LIBRARY_REALNAME} $ctx->{SHAREDDIR}/$ctx->{LIBRARY_DEBUGNAME}";
+ $lns .= "\nendif";
$self->output(<< "__EOD__"
#