diff options
author | Stefan Metzmacher <metze@samba.org> | 2010-12-13 11:53:03 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2010-12-13 13:07:22 +0100 |
commit | 1865bdc0f0129e03c4c71f1eef1c3d1bc55678e7 (patch) | |
tree | 33ddff9c5ed5ff3c1d8195cd13652ffe1a24fdaf /source4/heimdal_build/wscript_build | |
parent | a43a1d922611a0610f8d815285e91dff6d77d629 (diff) | |
download | samba-1865bdc0f0129e03c4c71f1eef1c3d1bc55678e7.tar.gz samba-1865bdc0f0129e03c4c71f1eef1c3d1bc55678e7.tar.bz2 samba-1865bdc0f0129e03c4c71f1eef1c3d1bc55678e7.zip |
s4:heimdal_build: replace '+' by '_' for vscripts in HEIMDAL_LIBRARY()
metze
Diffstat (limited to 'source4/heimdal_build/wscript_build')
-rw-r--r-- | source4/heimdal_build/wscript_build | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/heimdal_build/wscript_build b/source4/heimdal_build/wscript_build index 5607701d29..16af81acc3 100644 --- a/source4/heimdal_build/wscript_build +++ b/source4/heimdal_build/wscript_build @@ -242,8 +242,9 @@ def HEIMDAL_LIBRARY(libname, source, deps, vnum, if bld.env.HAVE_LD_VERSION_SCRIPT: vscript = "%s.vscript" % libname + namespace = version.replace("-","_").replace("+","_").upper(), HEIMDAL_GENERATOR(vscript, - rule="echo %s \{ global: \*\; \}\; > ${TGT}" % version.replace("-","_").upper(), + rule="echo %s \{ global: \*\; \}\; > ${TGT}" % namespace, group='vscripts', target=vscript) ldflags.append("-Wl,--version-script=%s/%s" % (bld.path.abspath(bld.env), vscript)) |