From e15a33151cda5e1331d92daebfe698304e1252bc Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Fri, 4 Jan 2008 15:41:29 -0600 Subject: r26664: buildsystem: Hopefully fix the shared library build on AIX. (This used to be commit bdf30f80fbef8ea70c3073dc43bc1b0bc02a9951) --- source4/build/smb_build/output.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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}"; } -- cgit