summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-01-04 15:41:29 -0600
committerStefan Metzmacher <metze@samba.org>2008-01-04 09:48:04 -0600
commite15a33151cda5e1331d92daebfe698304e1252bc (patch)
treef6a34bbc8311e4ddddc3a88dd588a6c118f977c2
parente5f8d05f092ed39a568e567efe07d49f26b4275f (diff)
downloadsamba-e15a33151cda5e1331d92daebfe698304e1252bc.tar.gz
samba-e15a33151cda5e1331d92daebfe698304e1252bc.tar.bz2
samba-e15a33151cda5e1331d92daebfe698304e1252bc.zip
r26664: buildsystem: Hopefully fix the shared library build on AIX.
(This used to be commit bdf30f80fbef8ea70c3073dc43bc1b0bc02a9951)
-rw-r--r--source4/build/smb_build/output.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/build/smb_build/output.pm b/source4/build/smb_build/output.pm
index d9c05530b3..fbf14f7e91 100644
--- a/source4/build/smb_build/output.pm
+++ b/source4/build/smb_build/output.pm
@@ -7,6 +7,7 @@
package output;
use strict;
+use smb_build::config;
sub add_dir_str($$)
{
@@ -79,7 +80,7 @@ sub generate_shared_library($)
$lib->{LIBRARY_DEBUGNAME} = $lib->{LIBRARY_REALNAME};
- if (defined($lib->{VERSION})) {
+ if (defined($lib->{VERSION}) and $config::config{SONAMEFLAG} ne "#") {
$lib->{LIBRARY_SONAME} = "$lib->{LIBRARY_REALNAME}.$lib->{SO_VERSION}";
$lib->{LIBRARY_REALNAME} = "$lib->{LIBRARY_REALNAME}.$lib->{VERSION}";
}