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
21 lines
600 B
Diff
21 lines
600 B
Diff
--- ./deps/uv/uv.gyp 2021-06-03 07:15:30.000000000 +0530
|
|
+++ ./deps/uv/uv.gyp.mod 2021-06-18 20:21:23.955642417 +0530
|
|
@@ -40,7 +40,7 @@
|
|
{
|
|
'target_name': 'libuv',
|
|
'type': '<(uv_library)',
|
|
- 'include_dirs': [
|
|
+ 'include_dirs+': [
|
|
'include',
|
|
'src/',
|
|
],
|
|
@@ -55,7 +55,7 @@
|
|
'<@(shared_unix_defines)',
|
|
'<@(shared_zos_defines)',
|
|
],
|
|
- 'include_dirs': [ 'include' ],
|
|
+ 'include_dirs+': [ 'include' ],
|
|
'conditions': [
|
|
['OS == "linux"', {
|
|
'defines': [ '_POSIX_C_SOURCE=200112' ],
|