Created
September 2, 2011 19:19
-
-
Save raws/1189580 to your computer and use it in GitHub Desktop.
Patch node.js 0.4.11 to configure on my Synology DS1511+
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/deps/libeio/wscript b/deps/libeio/wscript | |
index 280dca6..32dd221 100644 | |
--- a/deps/libeio/wscript | |
+++ b/deps/libeio/wscript | |
@@ -10,6 +10,7 @@ def configure(conf): | |
#conf.check_tool('compiler_cc') | |
conf.check(lib='pthread', uselib_store='PTHREAD') | |
+ conf.env.append_value('LINKFLAGS', '/opt/lib/libpthread_nonshared.a') | |
conf.check_cc(lib="pthread", header_name="pthread.h", function_name="pthread_create", mandatory=True) | |
if sys.platform.startswith("cygwin"): | |
conf.check_cc(lib="pthread", header_name="unistd.h", function_name="pthread_atfork", mandatory=True) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment