aboutsummaryrefslogtreecommitdiffstats
path: root/www/node04
diff options
context:
space:
mode:
Diffstat (limited to 'www/node04')
-rw-r--r--www/node04/files/patch-node_addon.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/www/node04/files/patch-node_addon.py b/www/node04/files/patch-node_addon.py
new file mode 100644
index 000000000000..360ba7ce89e5
--- /dev/null
+++ b/www/node04/files/patch-node_addon.py
@@ -0,0 +1,10 @@
+--- tools/wafadmin/Tools/node_addon.py.orig 2011-05-11 14:41:33.000000000 +0800
++++ tools/wafadmin/Tools/node_addon.py 2011-05-11 14:41:49.000000000 +0800
+@@ -29,6 +29,7 @@ def detect(conf):
+
+ conf.env['LIBPATH_NODE'] = lib
+ conf.env['CPPPATH_NODE'] = join(prefix, 'include', 'node')
++ conf.env.append_value('CPPPATH_NODE', join(prefix, 'include'))
+
+ conf.env.append_value('CPPFLAGS_NODE', '-D_GNU_SOURCE')
+ conf.env.append_value('CPPFLAGS_NODE', '-DEV_MULTIPLICITY=0')