Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBert Belder <bertbelder@gmail.com>2010-11-25 01:19:23 +0300
committerBert Belder <bertbelder@gmail.com>2010-12-21 01:50:26 +0300
commit62af617f84a447473319eb7f0de836b953d147a3 (patch)
treed76d0a17c44be9f5d31663697042c2c10e11bd06 /wscript
parent13699c1b3398ac711fb4e29dac0a7713974aa9cb (diff)
Dynamically link with pthreads-w32
Adds some explanation what would need to be done to link pthreads statically
Diffstat (limited to 'wscript')
-rw-r--r--wscript7
1 files changed, 7 insertions, 0 deletions
diff --git a/wscript b/wscript
index ebf6a1b1ff8..45722d6b5a7 100644
--- a/wscript
+++ b/wscript
@@ -396,6 +396,13 @@ def configure(conf):
# Split off debug variant before adding variant specific defines
debug_env = conf.env.copy()
conf.set_env_name('debug', debug_env)
+
+ if (sys.platform.startswith("win32")):
+ # Static pthread - crashes
+ #conf.env.append_value('LINKFLAGS', '../deps/pthreads-w32/libpthreadGC2.a')
+ #debug_env.append_value('LINKFLAGS', '../deps/pthreads-w32/libpthreadGC2d.a')
+ # Pthread dll
+ conf.env.append_value('LIB', 'pthread.dll')
# Configure debug variant
conf.setenv('debug')