Browse Source

Add note about symbol visibility in V8 to wscript

v0.7.4-release
Ryan Dahl 15 years ago
parent
commit
bc9b343fd3
  1. 4
      wscript

4
wscript

@ -203,6 +203,10 @@ def build_v8(bld):
v8dir_tgt = join(deps_tgt, "v8")
scons = os.path.join(cwd, 'tools/scons/scons.py')
# 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...
v8rule = 'cd %s && ' \
'python %s -Q visibility=default mode=%s %s library=static snapshot=on'

Loading…
Cancel
Save