forked from chrisdickinson/node-python
-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathbinding.gyp
More file actions
31 lines (31 loc) · 655 Bytes
/
binding.gyp
File metadata and controls
31 lines (31 loc) · 655 Bytes
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
{
"targets": [
{
"target_name": "binding",
"sources": [
"src/binding.cc",
"src/utils.cc",
"src/py_object_wrapper.cc"
],
"conditions": [
['OS=="mac"', {
"xcode_settings": {
"OTHER_CFLAGS": [
"<!(python-config --cflags)"
],
"OTHER_LDFLAGS": [
"<!(python-config --ldflags)"
]
}
}, { # not OSX
"cflags": [
"<!(python-config --cflags)"
],
"libraries": [
"<!(python-config --libs)"
]
}]
]
}
]
}