From: Michael Adam Date: Sun, 6 Jul 2008 00:26:57 +0000 (+0200) Subject: build: add ability to use library files of the form NAME.so.VERSION to create version... X-Git-Tag: samba-3.3.0pre1~668 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b8d13f8773f61863b71bfc9df468f0018b0db0d1;p=thirdparty%2Fsamba.git build: add ability to use library files of the form NAME.so.VERSION to create version script name. Michael --- diff --git a/source/Makefile.in b/source/Makefile.in index cbd34afb1c6..ca999a01ece 100644 --- a/source/Makefile.in +++ b/source/Makefile.in @@ -25,7 +25,7 @@ SHLD=@SHLD@ LIB_PATH_VAR=@LIB_PATH_VAR@ ## Dynamic shared libraries build settings -DSO_EXPORTS_CMD=-Wl,--version-script,$(srcdir)/exports/`basename $@ | sed 's/@SHLIBEXT@$$/@SYMSEXT@/'` +DSO_EXPORTS_CMD=-Wl,--version-script,$(srcdir)/exports/`basename $@ | sed 's/@SHLIBEXT@\(.[0-9]\+\)\?$$/@SYMSEXT@/'` DSO_EXPORTS=@DSO_EXPORTS@ SONAME_VER=`grep \^$@ $(builddir)/library-versions | cut -d: -f2` SHLD_DSO = $(SHLD) $(LDSHFLAGS) $(DSO_EXPORTS) -o $@