dddd5b0a9b
We are passing flags to `configure.py` in order to tell the nodejs build toolchain to use shared libraries. The toolchain seems to mistakenly also try use shared libraries for host build, but it does not add respective linker flags (For example `-lz` for zlib). This commit hardcodes these flags to be always passed to linker by setting linker to linker + LDFLAGS of shared libraries
11 lines
490 B
Diff
11 lines
490 B
Diff
--- ./tools/v8_gypfiles/v8.gyp 2021-06-03 07:15:33.000000000 +0530
|
|
+++ ./tools/v8_gypfiles/v8.gyp.mod 2021-06-18 21:18:09.722327631 +0530
|
|
@@ -928,6 +928,7 @@
|
|
'<(V8_ROOT)/src/base/platform/platform-posix.h',
|
|
'<(V8_ROOT)/src/base/platform/platform-posix-time.cc',
|
|
'<(V8_ROOT)/src/base/platform/platform-posix-time.h',
|
|
+ '<(V8_ROOT)/src/base/platform/platform-linux.h',
|
|
],
|
|
'link_settings': {
|
|
'target_conditions': [
|