summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2011-10-20 21:39:38 +0200
committerBjoern Jacke <bj@sernet.de>2011-10-20 23:15:05 +0200
commit37be1df3d7534c2cc8e1e25614164c2178372b94 (patch)
tree4251baba95cb274ca4e20926747610d26c1566c3 /source3
parent30fb5e99698406fd738cbe98f1a8a6cdca170a64 (diff)
downloadsamba-37be1df3d7534c2cc8e1e25614164c2178372b94.tar.gz
samba-37be1df3d7534c2cc8e1e25614164c2178372b94.tar.bz2
samba-37be1df3d7534c2cc8e1e25614164c2178372b94.zip
s3:Makefile: make DSO_EXPORTS_CMD more portable (#8531)
It sems like every not completely trivial sed expression should be tested with Solaris' sed. Its regexp engine is way more limited than the one of GNU sed. Thanks to Michael Pelletier for finding this! This fixes bug #8531 Autobuild-User: Björn Jacke <bj@sernet.de> Autobuild-Date: Thu Oct 20 23:15:05 CEST 2011 on sn-devel-104
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 7872484ef0..6bf03d34d4 100644
--- a/source3/Makefile.in
+++ b/source3/Makefile.in
@@ -64,7 +64,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@\(.[0-9]\{1,\}\)\{0,1\}$$/@SYMSEXT@/'`
+DSO_EXPORTS_CMD=-Wl,--version-script,$(srcdir)/exports/`basename $@ | sed 's:\.@SHLIBEXT@[\.0-9]*$$:.@SYMSEXT@:'`
DSO_EXPORTS=@DSO_EXPORTS@
SHLD_DSO = $(SHLD) $(LDSHFLAGS) $(DSO_EXPORTS) -o $@