From d85724d7414a08842e3e7a11eeb6dbf05335d451 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Fri, 9 Oct 2009 00:34:39 +0200 Subject: [PATCH] Fix wscript for python 2.4 --- wscript | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/wscript b/wscript index eb4837a..707871f 100644 --- a/wscript +++ b/wscript @@ -199,14 +199,19 @@ def v8_cmd(bld, variant): deps_src = join(bld.path.abspath(),"deps") v8dir_src = join(deps_src,"v8") - # NOTE: We want to compile V8 to export its symbols. I.E. Do not want # -fvisibility=hidden. When using dlopen() it seems that the loaded DSO # cannot see symbols in the executable which are hidden, even if the # executable is statically linked together... - arch = "arch=x64" if GuessArchitecture() == "x64" else "" - mode = "release" if variant == "default" else "debug" + arch = "" + if GuessArchitecture() == "x64": + arch = "arch=x64" + + if variant == "default": + mode = "release" + else: + mode = "debug" cmd_R = 'python %s -C %s -Y %s visibility=default mode=%s %s library=static snapshot=on' -- 2.7.4