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
12 lines
421 B
Diff
12 lines
421 B
Diff
--- ./lib/child_process.js 2021-06-03 07:15:32.000000000 +0530
|
|
+++ ./lib/child_process.js.mod 2021-06-18 20:32:47.215642156 +0530
|
|
@@ -520,7 +520,7 @@
|
|
if (typeof options.shell === 'string')
|
|
file = options.shell;
|
|
else if (process.platform === 'android')
|
|
- file = '/system/bin/sh';
|
|
+ file = '@TERMUX_PREFIX@/bin/sh';
|
|
else
|
|
file = '/bin/sh';
|
|
args = ['-c', command];
|