diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-02-16 19:19:02 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-02-29 14:09:54 +0100 |
commit | d3f260cbef82c040f8b287163f92c5b54f23d433 (patch) | |
tree | 0f2a89566dcb2762b4eca744fd1bc94309eff4d0 /source4/build/smb_build/makefile.pm | |
parent | bffb5fc1825da328158e9efc4916d90d045eb3f1 (diff) | |
download | samba-d3f260cbef82c040f8b287163f92c5b54f23d433.tar.gz samba-d3f260cbef82c040f8b287163f92c5b54f23d433.tar.bz2 samba-d3f260cbef82c040f8b287163f92c5b54f23d433.zip |
Move logic to makefile
(This used to be commit 94b0dd7ab0f5cc5493ea8dcfd8be54e1bec26283)
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 1bd51d8582..a152bfc90f 100644 --- a/source4/build/smb_build/makefile.pm +++ b/source4/build/smb_build/makefile.pm @@ -245,9 +245,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__" # |