Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

gyp: Support Linux

  • Loading branch information...
commit b433c42a566259525487e60b128e34b32c3eecc5 1 parent 584ae7b
@ry ry authored
Showing with 7 additions and 0 deletions.
  1. +1 −0  common.gypi
  2. +6 −0 node.gyp
View
1  common.gypi
@@ -1,5 +1,6 @@
{
'variables': {
+ 'visibility%': 'hidden', # V8's visibility setting
'target_arch%': 'ia32', # set v8's target architecture
'host_arch%': 'ia32', # set v8's host architecture
'library%': 'static_library', # allow override to 'shared_library' for DLL/.so builds
View
6 node.gyp
@@ -108,6 +108,12 @@
[ 'OS=="mac"', {
'sources': [ 'src/platform_darwin.cc' ],
'libraries': [ '-framework Carbon' ],
+ }],
+ [ 'OS=="linux"', {
+ 'sources': [ 'src/platform_linux.cc' ],
+ 'libraries': [
+ '-lutil' # needed for openpty
+ ],
}]
],
'msvs-settings': {
Please sign in to comment.
Something went wrong with that request. Please try again.