iproute2: m_xt.so depends on dynsyms.list
authorRoman Yeryomin <roman@advem.lv>
Fri, 3 Sep 2021 14:31:11 +0000 (17:31 +0300)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 5 Dec 2021 16:47:44 +0000 (17:47 +0100)
commit5ea927c0030dda4074e14fc41b9dd663c9161087
treeecb2c0434cf7da03e63aaf2d3caf83dee2269ac4
parentf14bc5cf5635edbb3ab2e29c14a260e2640e588f
iproute2: m_xt.so depends on dynsyms.list

When doing parallel build on a fast machine with bottleneck in i/o,
m_xt.so may start linking faster than dynsyms.list gets populated,
resulting in error:

ld:dynsyms.list:0: syntax error in dynamic list

Fix this by adding dynsyms.list as make dependency to m_xt.so
Described also here:
https://bugs.openwrt.org/index.php?do=details&task_id=3353

Change from v1:
- add dynsysms.list dependancy only when shared libs are enabled

Signed-off-by: Roman Yeryomin <roman@advem.lv>
Fixes: FS#3353
(cherry-picked from commit edd53df16843a0a6380920ed17b88bfe7d26d71b)
package/network/utils/iproute2/patches/175-reduce-dynamic-syms.patch