summaryrefslogtreecommitdiffstats
path: root/recipes/nodejs/files/node-dont-include-hosts-usr-include.patch
blob: edbf7c4671748d5c0949349a008483ced15821a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
diff --git node-v0.2.0/wscript.orig node-v0.2.0/wscript
index 3c5ebc5..905bd58 100644
--- node-v0.2.0/wscript.orig
+++ node-v0.2.0/wscript
@@ -162,11 +162,12 @@ def configure(conf):
   if Options.options.efence:
     conf.check(lib='efence', libpath=['/usr/lib', '/usr/local/lib'], uselib_store='EFENCE')
 
-  if not conf.check(lib="execinfo", includes=['/usr/include', '/usr/local/include'], libpath=['/usr/lib', '/usr/local/lib'], uselib_store="EXECINFO"):
-    # Note on Darwin/OS X: This will fail, but will still be used as the
-    # execinfo stuff are part of the standard library.
-    if sys.platform.startswith("freebsd"):
-      conf.fatal("Install the libexecinfo port from /usr/ports/devel/libexecinfo.")
+  # OpenEmbedded doesn't like us checking here
+  #if not conf.check(lib="execinfo", includes=['/usr/include', '/usr/local/include'], libpath=['/usr/lib', '/usr/local/lib'], uselib_store="EXECINFO"):
+  #  # Note on Darwin/OS X: This will fail, but will still be used as the
+  #  # execinfo stuff are part of the standard library.
+  #  if sys.platform.startswith("freebsd"):
+  #    conf.fatal("Install the libexecinfo port from /usr/ports/devel/libexecinfo.")
 
   if not Options.options.without_ssl:
     if conf.check_cfg(package='openssl',