0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-01-19 16:52:16 +00:00
termux-packages/packages/yuma123/netconf-src-Makefile.am.patch32
Fredrik Fornwall d56a59f895 fix(main/yuma123): Fix undefined symbols on 32-bit builds
Fix the following undefined symbols on 32-bit builds:

> ERROR: ./lib/libyumancx.so contains undefined symbols:
>    53: 00000000     0 NOTYPE  GLOBAL DEFAULT   UND lrint
>    54: 00000000     0 NOTYPE  GLOBAL DEFAULT   UND floor
>    55: 00000000     0 NOTYPE  GLOBAL DEFAULT   UND ceil
>    56: 00000000     0 NOTYPE  GLOBAL DEFAULT   UND round
>   103: 00000000     0 NOTYPE  GLOBAL DEFAULT   UND trunc

On 64-bit builds the functions are implemented using intrinsics so
linking in libm is not necessary.
2024-06-10 03:51:16 +02:00

10 lines
551 B
Plaintext

diff -u -r ../yuma123_2.13/netconf/src/ncx/Makefile.am ./netconf/src/ncx/Makefile.am
--- ../yuma123_2.13/netconf/src/ncx/Makefile.am 2024-06-10 01:15:28.072053297 +0000
+++ ./netconf/src/ncx/Makefile.am 2022-11-30 17:47:27.000000000 +0000
@@ -70,5 +70,6 @@
libyumancx_la_CPPFLAGS += -DNETCONFMODULEDIR=\"@netconfmoduledir@\"
libyumancx_la_CPPFLAGS += -DYUMA_DATAROOTDIR=\"@yuma_datarootdir@\"
#libyumancx_la_CPPFLAGS += -DSES_DEBUG_TRACE -DSES_DEBUG
+libyumancx_la_LIBADD = -lm
libyumancx_la_LDFLAGS = -version-info 2:0:0 $(XML_LIBS) $(LIBS) -lrt