libfastjson: add missing runtime dependency on libm
authormicpf <redacted>
Wed, 15 Apr 2026 16:30:17 +0000 (18:30 +0200)
committerHannu Nyman <redacted>
Sat, 2 May 2026 15:11:36 +0000 (18:11 +0300)
commitd114f46db11ad1639d9b8c59489182ab9583c092
tree36a7f372070429ea350173ea7bb8ef49b1119dd7
parent81f0ef48e1ead04776eb784f4403c95bc471ada5
libfastjson: add missing runtime dependency on libm

libfastjson uses modf() from libm but does not declare the dependency.
With BIND_NOW (CONFIG_PKG_RELRO_FULL), this can cause the dynamic linker
to process libfastjson's relocations before libm's GOT is set up,
triggering a crash in libm's IFUNC resolver on PowerPC.

Fixes: https://github.com/openwrt/packages/issues/29160
Signed-off-by: micpf <redacted>
libs/libfastjson/Makefile
git clone https://git.99rst.org/PROJECT