diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-02-16 19:19:02 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-02-16 19:19:02 +0100 |
commit | 0b8fe26451eb9253d6cdc5c7b138d31d61c4841d (patch) | |
tree | f96c93dfac079fb69e1624db53966ea19ceb5f2d /source4/build/smb_build/makefile.pm | |
parent | b66ee2ed22754dd44b20c06e573072e328d9a3dd (diff) | |
download | samba-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.pm | 6 |
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__" # |