summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-07-06 02:26:57 +0200
committerMichael Adam <obnox@samba.org>2008-07-07 20:33:58 +0200
commitef6619fc3c59db99ab6c2e7d2899b5e8e85d993f (patch)
treec21cb621906faa0b13486fb2b4ec03bd55f5c070 /source3
parent06b3a79d1fb2b66c39e0d8667c5904bfaff26b03 (diff)
downloadsamba-ef6619fc3c59db99ab6c2e7d2899b5e8e85d993f.tar.gz
samba-ef6619fc3c59db99ab6c2e7d2899b5e8e85d993f.tar.bz2
samba-ef6619fc3c59db99ab6c2e7d2899b5e8e85d993f.zip
build: add ability to use library files of the form NAME.so.VERSION to create version script name.
Michael (This used to be commit b8d13f8773f61863b71bfc9df468f0018b0db0d1)
Diffstat (limited to 'source3')
-rw-r--r--source3/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in
index cbd34afb1c..ca999a01ec 100644
--- a/source3/Makefile.in
+++ b/source3/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 $@