mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
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 commit is contained in:
parent
14d2a4da1d
commit
0acc888ca9
@ -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 $@
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user