diff options
author | James Peach <jpeach@samba.org> | 2008-04-13 14:09:09 -0700 |
---|---|---|
committer | James Peach <jpeach@samba.org> | 2008-04-13 14:09:09 -0700 |
commit | 2bb20aa8a8ff1170fd4d2a349a421990b0d7c235 (patch) | |
tree | a6b58ae10e995cd0769742fb842c526496b4401b /source4 | |
parent | 60a6682c855cbe5094433881649e7ed4945a06e7 (diff) | |
download | samba-2bb20aa8a8ff1170fd4d2a349a421990b0d7c235.tar.gz samba-2bb20aa8a8ff1170fd4d2a349a421990b0d7c235.tar.bz2 samba-2bb20aa8a8ff1170fd4d2a349a421990b0d7c235.zip |
smb_build: Make sure LIBRARY_SONAME is never uninitialized.
(This used to be commit 2b8cf1b2a447711d123c563dfbd9a54941155267)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/build/smb_build/makefile.pm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/build/smb_build/makefile.pm b/source4/build/smb_build/makefile.pm index fb3ac561fa..2470fa1459 100644 --- a/source4/build/smb_build/makefile.pm +++ b/source4/build/smb_build/makefile.pm @@ -220,6 +220,10 @@ sub SharedLibrary($$) { my ($self,$ctx) = @_; + if (!defined($ctx->{LIBRARY_SONAME})) { + $ctx->{LIBRARY_SONAME} = ""; + } + $self->output("SHARED_LIBS += $ctx->{SHAREDDIR}/$ctx->{LIBRARY_REALNAME}\n") if (defined($ctx->{SO_VERSION})); $self->_prepare_list($ctx, "DEPEND_LIST"); |