diff options
author | Bert Belder <bertbelder@gmail.com> | 2010-11-25 01:19:23 +0300 |
---|---|---|
committer | Bert Belder <bertbelder@gmail.com> | 2010-12-21 01:50:26 +0300 |
commit | 62af617f84a447473319eb7f0de836b953d147a3 (patch) | |
tree | d76d0a17c44be9f5d31663697042c2c10e11bd06 /wscript | |
parent | 13699c1b3398ac711fb4e29dac0a7713974aa9cb (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-- | wscript | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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') |