diff options
author | Stefan Metzmacher <metze@samba.org> | 2010-12-08 12:40:59 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2010-12-08 16:11:48 +0100 |
commit | 3d289fe14db89b4e9fb97d8bcc3aa29aeb03bc67 (patch) | |
tree | d889b296ffbea6f5deeeeb0d2ae1349e44403b79 | |
parent | 02f35678144a9878c15c3f43715f18653e74372b (diff) | |
download | samba-3d289fe14db89b4e9fb97d8bcc3aa29aeb03bc67.tar.gz samba-3d289fe14db89b4e9fb97d8bcc3aa29aeb03bc67.tar.bz2 samba-3d289fe14db89b4e9fb97d8bcc3aa29aeb03bc67.zip |
buildtools: make sure we have no '+' in the version scripts
This happens if '--git-local-changes' was used.
metze
-rw-r--r-- | buildtools/wafsamba/wafsamba.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buildtools/wafsamba/wafsamba.py b/buildtools/wafsamba/wafsamba.py index 3ce4455929..bf03973f88 100644 --- a/buildtools/wafsamba/wafsamba.py +++ b/buildtools/wafsamba/wafsamba.py @@ -203,7 +203,7 @@ def SAMBA_LIBRARY(bld, libname, source, if bld.env.HAVE_LD_VERSION_SCRIPT: vscript = "%s.vscript" % libname bld.SAMBA_GENERATOR(vscript, - rule="echo %s \{ global: \*\; \}\; > ${TGT}" % version.replace("-","_").upper(), + rule="echo %s \{ global: \*\; \}\; > ${TGT}" % version.replace("-","_").replace("+","_").upper(), group='vscripts', target=vscript) ldflags.append("-Wl,--version-script=%s/%s" % (bld.path.abspath(bld.env), vscript)) |