From 667b3ce9c438ce5b7f37c9cb032b39dab734e1f5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bj=C3=B6rn=20Jacke?= Date: Thu, 20 Oct 2011 21:39:38 +0200 Subject: [PATCH] s3:Makefile: make DSO_EXPORTS_CMD more portable (#8531) MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 Autobuild-Date: Thu Oct 20 23:15:05 CEST 2011 on sn-devel-104 (cherry picked from commit 37be1df3d7534c2cc8e1e25614164c2178372b94) (cherry picked from commit 763ad499aa4423c5e68a75f20f2ba8ee967e5984) --- source3/Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/Makefile.in b/source3/Makefile.in index 7fd82f01659..7e98db72273 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 $@ -- 2.11.4.GIT