aboutsummaryrefslogtreecommitdiff
path: root/www/node/files/patch-node_addon.py
blob: 360ba7ce89e53a22ce200ad94a4a38e46c87d396 (plain) (blame)
1
2
3
4
5
6
7
8
9
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')