Try LDFLAGS as proposed by Grimler

This commit is contained in:
Yaksh Bariya 2021-09-14 06:57:56 +05:30
parent cee109645a
commit 896be775f5
No known key found for this signature in database
GPG Key ID: F7486BA7D3D27581

View File

@ -78,7 +78,7 @@ termux_step_configure() {
export CXX_host=g++
export LINK_host="g++ -Wl,--no-as-needed -ldl -lz"
LDFLAGS+=" -Wl,--no-as-needed -ldl -latomic"
LDFLAGS+=" -Wl,--no-as-needed -ldl -u __atomic_fetch_add_8 -u __atomic_load_8 -u __atomic_compare_exchange_8 -latomic"
# See note above TERMUX_PKG_DEPENDS why we do not use a shared libuv.
./configure \