Skip to content

Commit 1bcc34d

Browse files
committed
fix undefined symbols on OS X 10.9 & node 0.11
1 parent 6c9a7b4 commit 1bcc34d

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

binding.gyp

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,19 @@
2424
},
2525
},
2626
],
27+
['OS=="mac"',
28+
{
29+
'sources': [
30+
'src/serialport_unix.cpp',
31+
'src/serialport_poller.cpp',
32+
],
33+
'xcode_settings': {
34+
'OTHER_LDFLAGS': [
35+
'-framework CoreFoundation -framework IOKit'
36+
]
37+
}
38+
}
39+
],
2740
['OS!="win"',
2841
{
2942
'sources': [

0 commit comments

Comments
 (0)