This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

gyp: Support Linux

  • Loading branch information...
1 parent 584ae7b commit b433c42a566259525487e60b128e34b32c3eecc5 @ry ry committed Aug 16, 2011
Showing with 7 additions and 0 deletions.
  1. +1 −0 common.gypi
  2. +6 −0 node.gyp
View
@@ -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
@@ -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': {

0 comments on commit b433c42

Please sign in to comment.