summaryrefslogtreecommitdiff
path: root/source4/build/smb_build
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-11-14 01:01:31 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:45:12 +0100
commit0969ac9e6189d1b990ca86b7611341fe6a404b5e (patch)
tree5b1d79df060accc0a8ef50b0e05c4602207fade3 /source4/build/smb_build
parent5adade2f2f6db9f76c5d1bfbb08d9c0b17d454a9 (diff)
downloadsamba-0969ac9e6189d1b990ca86b7611341fe6a404b5e.tar.gz
samba-0969ac9e6189d1b990ca86b7611341fe6a404b5e.tar.bz2
samba-0969ac9e6189d1b990ca86b7611341fe6a404b5e.zip
r25944: Fix handling of sonameflag on AIX, which doesn't have anything like that.
(This used to be commit 228dd6830eb9c91287bb3e0233d8b3a404ff3676)
Diffstat (limited to 'source4/build/smb_build')
-rw-r--r--source4/build/smb_build/makefile.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/build/smb_build/makefile.pm b/source4/build/smb_build/makefile.pm
index 1829c256b3..5f56fb6ddf 100644
--- a/source4/build/smb_build/makefile.pm
+++ b/source4/build/smb_build/makefile.pm
@@ -364,7 +364,7 @@ __EOD__
my $soarg = "";
my $lns = "";
- if ($self->{config}->{SONAMEFLAG} ne "" and defined($ctx->{LIBRARY_SONAME})) {
+ if ($self->{config}->{SONAMEFLAG} ne "#" and defined($ctx->{LIBRARY_SONAME})) {
$soarg = "$self->{config}->{SONAMEFLAG}$ctx->{LIBRARY_SONAME} ";
if ($ctx->{LIBRARY_REALNAME} ne $ctx->{LIBRARY_SONAME}) {
$lns .= "\n\t\@rm -f $ctx->{SHAREDDIR}/$ctx->{LIBRARY_SONAME}";
@@ -372,7 +372,7 @@ __EOD__
}
}
- if ($self->{config}->{SONAMEFLAG} ne "" and
+ if ($self->{config}->{SONAMEFLAG} ne "#" and
defined($ctx->{LIBRARY_SONAME}) and
$ctx->{LIBRARY_REALNAME} ne $ctx->{LIBRARY_SONAME}) {
$lns .= "\n\t\@rm -f $ctx->{SHAREDDIR}/$ctx->{LIBRARY_SONAME}";