1 parent 584ae7b commit b433c42Copy full SHA for b433c42
2 files changed
common.gypi
@@ -1,5 +1,6 @@
1
{
2
'variables': {
3
+ 'visibility%': 'hidden', # V8's visibility setting
4
'target_arch%': 'ia32', # set v8's target architecture
5
'host_arch%': 'ia32', # set v8's host architecture
6
'library%': 'static_library', # allow override to 'shared_library' for DLL/.so builds
node.gyp
@@ -108,6 +108,12 @@
108
[ 'OS=="mac"', {
109
'sources': [ 'src/platform_darwin.cc' ],
110
'libraries': [ '-framework Carbon' ],
111
+ }],
112
+ [ 'OS=="linux"', {
113
+ 'sources': [ 'src/platform_linux.cc' ],
114
+ 'libraries': [
115
+ '-lutil' # needed for openpty
116
+ ],
117
}]
118
],
119
'msvs-settings': {
0 commit comments