]> git.ipfire.org Git - thirdparty/iptables.git/commit
build: fix static linking
authorJan Engelhardt <jengelh@medozas.de>
Tue, 3 Aug 2010 17:58:38 +0000 (19:58 +0200)
committerJan Engelhardt <jengelh@medozas.de>
Tue, 3 Aug 2010 17:58:38 +0000 (19:58 +0200)
commit0428e5a6541c3f5eaaf683d8da9ea60c44eac4c7
tree12ecded34ed22c763cfe63f1156174583d1cb4eb
parent371cea299f0b2eb100b9fc9fb99089640d2d606f
build: fix static linking

Gabor Z. Papp noted this link-time error when configuring with
--enable-static:

extensions/libext4.a(initext4.o): In function "init_extensions":
extensions/initext4.c:144: undefined reference to "libxt_IDLETIMER_init"
extensions/initext4.c:145: undefined reference to "libxt_TEE_init"

Indeed, since the two modules did not use our special macro "_init"
(which expands to libxt_foo_init), initext4.c could not find them by
that name. Correct this.

References: http://marc.info/?l=netfilter&m=128085480927924&w=2
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
extensions/libxt_IDLETIMER.c
extensions/libxt_TEE.c