Skip to content

Instantly share code, notes, and snippets.

@raws
Created September 2, 2011 19:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save raws/1189580 to your computer and use it in GitHub Desktop.
Save raws/1189580 to your computer and use it in GitHub Desktop.
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_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