Skip to content

Commit 76fdc39

Browse files
committed
Merge pull request #98 from kapouer/issue93
Move -stdlib=libc++ to linker flag
2 parents bf9fb97 + 9075147 commit 76fdc39

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

nodejs/dist/binding.gyp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@
1212
'cflags_cc!': [ '-fno-exceptions' ]
1313
}],
1414
['OS=="darwin"', {
15-
'cflags_cc': [ '-fexceptions', '-std=c++11', '-stdlib=libc++' ],
16-
'cflags_cc!': [ '-fno-exceptions' ]
15+
'cflags_cc': [ '-fexceptions', '-std=c++11' ],
16+
'cflags_cc!': [ '-fno-exceptions' ],
17+
'ldflags': [ '-stdlib=libc++' ]
1718
}],
1819
['OS=="win32"', {
1920
'cflags_cc': [],

0 commit comments

Comments
 (0)