git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a43a1d9
)
s4:heimdal_build: replace '+' by '_' for vscripts in HEIMDAL_LIBRARY()
author
Stefan Metzmacher
<metze@samba.org>
Mon, 13 Dec 2010 10:53:03 +0000
(11:53 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Mon, 13 Dec 2010 12:07:22 +0000
(13:07 +0100)
metze
source4/heimdal_build/wscript_build
patch
|
blob
|
history
diff --git
a/source4/heimdal_build/wscript_build
b/source4/heimdal_build/wscript_build
index 5607701d29f21b8315240ccddfcd478d0c20dd91..16af81acc38da2864f2f6a6a79140d9d17b63090 100644
(file)
--- 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))