summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZach Loafman <zachary.loafman@isilon.com>2008-07-09 00:05:50 -0700
committerVolker Lendecke <vl@samba.org>2008-07-22 15:00:48 +0200
commitabaa69b32b212f151832b5e5c9325bfeea7d0bb2 (patch)
tree277e65f2387f5681cd603839dd26aeb61b77605e
parent863a6aa07e543e30f2075a597129f6c39222beef (diff)
downloadsamba-abaa69b32b212f151832b5e5c9325bfeea7d0bb2.tar.gz
samba-abaa69b32b212f151832b5e5c9325bfeea7d0bb2.tar.bz2
samba-abaa69b32b212f151832b5e5c9325bfeea7d0bb2.zip
Make DSO_EXPORTS_CMD regexp more POSIX compliant
The FreeBSD sed command doesn't understand \? without passing -E to turn on extended regexps. This patch changes the DSO_EXPORTS_CMD regexp to a POSIX compliant RE by switching the \+ to a \{1,\} bound and the \? to a \{0,1\} bound. (This used to be commit 0acc888ca91a7401c5e54388c58272e263f73069)
-rw-r--r--source3/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in
index aeff057132..5dbac10cf8 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@\(.[0-9]\+\)\?$$/@SYMSEXT@/'`
+DSO_EXPORTS_CMD=-Wl,--version-script,$(srcdir)/exports/`basename $@ | sed 's/@SHLIBEXT@\(.[0-9]\{1,\}\)\{0,1\}$$/@SYMSEXT@/'`
DSO_EXPORTS=@DSO_EXPORTS@
SHLD_DSO = $(SHLD) $(LDSHFLAGS) $(DSO_EXPORTS) -o $@