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-29 14:09:54 +0100
commitd3f260cbef82c040f8b287163f92c5b54f23d433 (patch)
tree0f2a89566dcb2762b4eca744fd1bc94309eff4d0 /source4/build/smb_build/makefile.pm
parentbffb5fc1825da328158e9efc4916d90d045eb3f1 (diff)
downloadsamba-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.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 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__"
#