public
Created

Patch node.js 0.4.11 to configure on my Synology DS1511+

  • Download Gist
gistfile1.diff
Diff
1 2 3 4 5 6 7 8 9 10 11 12
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)

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.