libtool-cross 2.2.6[ab]: Drop legacy staging, taken from poky
[openembedded.git] / recipes / nodejs / files / libev-cross-cc.patch
blob446015b3cf7a2e0a0e8f52fea6914461b5a66eef
1 diff --git node-v0.2.0/deps/libev/wscript.orig node-v0.2.0/deps/libev/wscript
2 index 19e7bb2..f0a3d3b 100644
3 --- node-v0.2.0/deps/libev/wscript.orig
4 +++ node-v0.2.0/deps/libev/wscript
5 @@ -52,7 +52,12 @@ def configure(conf):
6 return 0;
8 """
9 - conf.check_cc(fragment=code, define_name="HAVE_CLOCK_SYSCALL", execute=True,
10 + # TODO determine this dynamically
11 + CROSS = True
12 + execute = True
13 + if CROSS:
14 + execute = False
15 + conf.check_cc(fragment=code, define_name="HAVE_CLOCK_SYSCALL", execute=execute,
16 msg="Checking for SYS_clock_gettime")
18 have_librt = conf.check(lib='rt', uselib_store='RT')