svn commit: samba r6589 - in
branches/SAMBA_4_0/source/build/smb_build: .
tpot at samba.org
tpot at samba.org
Tue May 3 01:48:25 GMT 2005
Author: tpot
Date: 2005-05-03 01:48:24 +0000 (Tue, 03 May 2005)
New Revision: 6589
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=6589
Log:
Make the library versioning options for building a shared library optional.
This will allow us to build unversioned libraries suitable for loading
using dlopen() i.e for the swig wrappers.
Modified:
branches/SAMBA_4_0/source/build/smb_build/input.pm
Changeset:
Modified: branches/SAMBA_4_0/source/build/smb_build/input.pm
===================================================================
--- branches/SAMBA_4_0/source/build/smb_build/input.pm 2005-05-02 21:30:57 UTC (rev 6588)
+++ branches/SAMBA_4_0/source/build/smb_build/input.pm 2005-05-03 01:48:24 UTC (rev 6589)
@@ -114,9 +114,16 @@
}
$lib->{OUTPUT_TYPE} = "SHARED_LIBRARY";
- $lib->{MAJOR_VERSION} = join('', @{$lib->{MAJOR_VERSION}});
- $lib->{MINOR_VERSION} = join('', @{$lib->{MINOR_VERSION}});
- $lib->{RELEASE_VERSION} = join('', @{$lib->{RELEASE_VERSION}});
+
+ if (defined($lib->{MAJOR_VERSION})) {
+ $lib->{MAJOR_VERSION} = join('', $lib->{MAJOR_VERSION});
+ }
+ if (defined($lib->{MINOR_VERSION})) {
+ $lib->{MINOR_VERSION} = join('', $lib->{MINOR_VERSION});
+ }
+ if (defined($lib->{RELEASE_VERSION})) {
+ $lib->{RELEASE_VERSION} = join('', $lib->{RELEASE_VERSION});
+ }
}
sub check_binary($$)
More information about the samba-cvs
mailing list