-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbinding.gyp
49 lines (49 loc) · 1.62 KB
/
binding.gyp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{
"targets": [
{
"target_name": "emojs",
"sources": [ "NodeEPOCDriver.cc" ],
"include_dirs": [ "/usr/local/include" ],
"cflags": [
"-fPIC"
],
"variables" : {
"target_arch": "ia32",
"host_arch":"ia32"
},
"conditions": [
['OS=="mac"', {
"cflags": [ "-m32" ],
"ldflags": [ "-m32" ],
"xcode_settings": {
"OTHER_CFLAGS": ["-ObjC++"],
"ARCHS": [ "i386" ]
},
"link_settings": {
"libraries": [
"/usr/local/lib/libedk.dylib",
"/usr/local/lib/libedk.1.dylib",
"/usr/local/lib/libedk_ultils_mac.dylib",
"/usr/local/lib/libiomp5.dylib"
]
}
}],
['OS=="linux"', {
"cflags": [ "-m32" ],
"ldflags": [ "-m32" ],
"xcode_settings": {
"ARCHS": [ "i386" ]
},
"link_settings": {
"libraries": [
"/usr/local/lib/libedk.so.1",
"/usr/local/lib/libhal.so.1",
"/usr/local/lib/libedk_utils.so",
"/usr/local/lib/libqwt.so.5"
]
}
}]
]
}
]
}