mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2025-12-25 21:20:41 +00:00
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
240 B
Diff
11 lines
240 B
Diff
--- ./Makefile 2021-09-10 11:00:12.544728388 +0530
|
|
+++ ./Makefile.mod 2021-09-10 11:04:27.388422344 +0530
|
|
@@ -19,6 +19,7 @@
|
|
PWD = $(CURDIR)
|
|
BUILD_WITH ?= make
|
|
FIND ?= find
|
|
+V8_ARCH = $(DESTCPU)
|
|
|
|
ifdef JOBS
|
|
PARALLEL_ARGS = -j $(JOBS)
|