packages/net/coova-chilli
Hauke Mehrtens f1a15fd5b9
coova-chilli: Fix compile problem with _init()
The _init() function collides with a _init() function in crti.o.
This results in the following error in OpenWrt:
arc-openwrt-linux-gnu/bin/ld: libxt_coova.o: in function `_init':
/lib/gcc/arc-openwrt-linux-gnu/11.3.0/crti.o:(.init+0x4): first defined here
collect2: error: ld returned 1 exit status
make[7]: *** [Makefile:22: libxt_coova.so] Error 1

Fix this by suing a constructor attribute instead. This function will
still be called after the shared library was loaded.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit 55297e45c8)
2022-08-21 10:28:51 +02:00
..
files coova-chilli: add interface_trigger "wan" 2022-01-29 21:02:28 -08:00
patches coova-chilli: Fix compile problem with _init() 2022-08-21 10:28:51 +02:00
Config.in coova-chilli: Add json interface build option 2020-05-26 17:44:44 -04:00
Makefile coova-chilli: remove kmod dep on binary package 2022-03-08 21:57:48 -08:00