Skip to content

Commit 42b596b

Browse files
author
David Swift
committed
Add binding.gyp file for use in node v0.10.0
1 parent f1275ab commit 42b596b

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

binding.gyp

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"targets": [
3+
{
4+
"target_name": "mysql_bindings",
5+
'include_dirs': [
6+
'lib/',
7+
'.',
8+
'<!@(mysql_config --include)'
9+
],
10+
'cflags': [
11+
'<!@(mysql_config --cflags)'
12+
],
13+
'cflags!': [
14+
'-fno-exceptions'
15+
],
16+
'cflags_cc!': [
17+
'-fno-exceptions'
18+
],
19+
"sources": [
20+
"lib/node-db/exception.cc",
21+
"lib/node-db/binding.cc",
22+
"lib/node-db/connection.cc",
23+
"lib/node-db/events.cc",
24+
"lib/node-db/query.cc",
25+
"lib/node-db/result.cc",
26+
"src/connection.cc",
27+
"src/mysql.cc",
28+
"src/query.cc",
29+
"src/result.cc",
30+
"src/mysql_bindings.cc"
31+
],
32+
'link_settings': {
33+
'libraries': [
34+
'<!@(mysql_config --libs_r)'
35+
]
36+
}
37+
}
38+
]
39+
}

0 commit comments

Comments
 (0)