summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2011-10-20 21:39:38 +0200
committerKarolin Seeger <kseeger@samba.org>2011-10-24 19:17:23 +0200
commitfcc73f87137b3251bc582ecc7ceb8ecf215322fb (patch)
treeace808d5cc40b78b68e2422728b587012c65c76c
parent3a3d35430fb635d345f3749836d2414a0f6aa51f (diff)
downloadsamba-fcc73f87137b3251bc582ecc7ceb8ecf215322fb.tar.gz
samba-fcc73f87137b3251bc582ecc7ceb8ecf215322fb.tar.xz
samba-fcc73f87137b3251bc582ecc7ceb8ecf215322fb.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 (cherry picked from commit 37be1df3d7534c2cc8e1e25614164c2178372b94) (cherry picked from commit 763ad499aa4423c5e68a75f20f2ba8ee967e5984) (cherry picked from commit 53b551d160a9e5b645aaa6582d7ffc82e5e52b59)
-rw-r--r--source3/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in
index 425aa2bdaa4..d1a8780a45c 100644
--- a/source3/Makefile.in
+++ b/source3/Makefile.in
@@ -28,7 +28,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 $@