1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00

smb_build: Make sure LIBRARY_SONAME is never uninitialized.

(This used to be commit 2b8cf1b2a4)
This commit is contained in:
James Peach 2008-04-13 14:09:09 -07:00
parent 60a6682c85
commit 2bb20aa8a8

View File

@ -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");