diff options
| author | Hauke Mehrtens <hauke@hauke-m.de> | 2022-08-15 16:00:31 +0200 |
|---|---|---|
| committer | Rosen Penev <rosenp@gmail.com> | 2022-08-20 19:25:17 -0700 |
| commit | 55297e45c85d0ab3ba31e413c0c58729cddbf72f (patch) | |
| tree | 7d0c380c26b725f9c6d20c3e4dc77b72c4a27c19 /lang/python/python-docopt | |
| parent | c5ec5c70b3bcb053fea8441f028dfac0c3a18d56 (diff) | |
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>
Diffstat (limited to 'lang/python/python-docopt')
0 files changed, 0 insertions, 0 deletions
