Created
February 13, 2017 18:12
-
-
Save kenany/8678e2925f00f776bfcdb3e26848fdc8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/common.gypi b/common.gypi | |
index 0fa36197be..6cb7171203 100644 | |
--- a/common.gypi | |
+++ b/common.gypi | |
@@ -42,12 +42,12 @@ | |
'os_posix': 1, | |
'v8_postmortem_support%': 'true', | |
}], | |
- ['GENERATOR == "ninja" or OS== "mac"', { | |
+ ['OS=="mac"', { | |
'OBJ_DIR': '<(PRODUCT_DIR)/obj', | |
'V8_BASE': '<(PRODUCT_DIR)/libv8_base.a', | |
}, { | |
- 'OBJ_DIR': '<(PRODUCT_DIR)/obj.target', | |
- 'V8_BASE': '<(PRODUCT_DIR)/obj.target/deps/v8/src/libv8_base.a', | |
+ 'OBJ_DIR': '<(INTERMEDIATE_DIR)/../..', | |
+ 'V8_BASE': '<(INTERMEDIATE_DIR)/../../deps/v8/src/libv8_base.a', | |
}], | |
['openssl_fips != ""', { | |
'OPENSSL_PRODUCT': 'libcrypto.a', | |
diff --git a/node.gyp b/node.gyp | |
index e3f8aa83af..e48a5cf982 100644 | |
--- a/node.gyp | |
+++ b/node.gyp | |
@@ -392,7 +392,7 @@ | |
['OS in "linux freebsd" and node_shared=="false"', { | |
'ldflags': [ | |
'-Wl,--whole-archive,' | |
- '<(PRODUCT_DIR)/obj.target/deps/openssl/' | |
+ '<(OBJ_DIR)/deps/openssl/' | |
'<(OPENSSL_PRODUCT)', | |
'-Wl,--no-whole-archive', | |
], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ make clean && make -j4 | |
... | |
g++: error: /home/kenan/code/node/out/Release/obj.target/node/geni/../../deps/v8/src/libv8_base.a: No such file or directory | |
make[1]: *** [node.target.mk:238: /home/kenan/code/node/out/Release/node] Error 1 | |
make[1]: *** Waiting for unfinished jobs.... | |
rm 96c8a083ffa5c6b083297e89d1696282d68def6c.intermediate | |
make[1]: Leaving directory '/home/kenan/code/node/out' | |
make: *** [Makefile:73: node] Error 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment