Skip to content

Instantly share code, notes, and snippets.

Created Sep 2, 2011
What would you like to do?
Patch node.js 0.4.11 to configure on my Synology DS1511+
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(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