From d3f260cbef82c040f8b287163f92c5b54f23d433 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sat, 16 Feb 2008 19:19:02 +0100 Subject: Move logic to makefile (This used to be commit 94b0dd7ab0f5cc5493ea8dcfd8be54e1bec26283) --- source4/build/smb_build/makefile.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source4/build/smb_build/makefile.pm b/source4/build/smb_build/makefile.pm index 1bd51d8582..a152bfc90f 100644 --- a/source4/build/smb_build/makefile.pm +++ b/source4/build/smb_build/makefile.pm @@ -245,9 +245,9 @@ sub SharedLibrary($$) } } - if (defined($ctx->{LIBRARY_SONAME})) { - $lns .= "\n\t\@ln -fs $ctx->{LIBRARY_REALNAME} $ctx->{SHAREDDIR}/$ctx->{LIBRARY_DEBUGNAME}"; - } + $lns .= "\nifdef $ctx->{NAME}_SOVERSION"; + $lns .= "\n\t\@ln -fs $ctx->{LIBRARY_REALNAME} $ctx->{SHAREDDIR}/$ctx->{LIBRARY_DEBUGNAME}"; + $lns .= "\nendif"; $self->output(<< "__EOD__" # -- cgit