summaryrefslogtreecommitdiff
path: root/deps/v8/src/d8.gyp
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/d8.gyp')
-rw-r--r--deps/v8/src/d8.gyp8
1 files changed, 4 insertions, 4 deletions
diff --git a/deps/v8/src/d8.gyp b/deps/v8/src/d8.gyp
index a8361e6b4e..cce8f2a1fb 100644
--- a/deps/v8/src/d8.gyp
+++ b/deps/v8/src/d8.gyp
@@ -45,6 +45,10 @@
'd8.cc',
],
'conditions': [
+ [ 'console=="readline"', {
+ 'libraries': [ '-lreadline', ],
+ 'sources': [ 'd8-readline.cc' ],
+ }],
[ 'component!="shared_library"', {
'sources': [ 'd8-debug.cc', '<(SHARED_INTERMEDIATE_DIR)/d8-js.cc', ],
'conditions': [
@@ -57,10 +61,6 @@
'd8_js2c',
],
}],
- [ 'console=="readline"', {
- 'libraries': [ '-lreadline', ],
- 'sources': [ 'd8-readline.cc' ],
- }],
['(OS=="linux" or OS=="mac" or OS=="freebsd" or OS=="netbsd" \
or OS=="openbsd" or OS=="solaris" or OS=="android")', {
'sources': [ 'd8-posix.cc', ]