Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
build: add RPATH environment variable
Browse files Browse the repository at this point in the history
Overrides default run-time library paths
  • Loading branch information
Ashok Mudukutore authored and bnoordhuis committed Sep 4, 2011
1 parent 29e929d commit 908ee33
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions wscript
Expand Up @@ -894,6 +894,9 @@ def build(bld):

if not bld.env["USE_SHARED_V8"]: node.includes += ' deps/v8/include '

if os.environ.has_key('RPATH'):
node.rpath = os.environ['RPATH']

if sys.platform.startswith('cygwin'):
bld.env.append_value('LINKFLAGS', '-Wl,--export-all-symbols')
bld.env.append_value('LINKFLAGS', '-Wl,--out-implib,default/libnode.dll.a')
Expand Down

0 comments on commit 908ee33

Please sign in to comment.