]> git.ipfire.org Git - thirdparty/iptables.git/commit
Makefile: fix static compilation iptables-compat without shared libraries
authorPablo Neira Ayuso <pablo@netfilter.org>
Fri, 13 Jun 2014 09:40:41 +0000 (11:40 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 13 Jun 2014 10:05:58 +0000 (12:05 +0200)
commit03a3f7cf1826f70dd1db070aa8ee11bd2abbccd9
tree15e51d52846ef0dd111a6e9b46d8b10232a0ae6c
parenta2a3eb1393b5c37881a355d1e714bdc9c87fe7cf
Makefile: fix static compilation iptables-compat without shared libraries

Fix linking problems when this configuration is used:

 $ ./configure --prefix=/usr --enable-shared=no --enable-static=yes
 $ make
 ...
xtables_compat_multi-xtables-save.o: In function `xtables_save_main':
/home/pablo/devel/iptables/iptables/xtables-save.c:98: undefined reference to `init_extensions4'
xtables_compat_multi-xtables-restore.o: In function `xtables_restore_main':
/home/pablo/devel/iptables/iptables/xtables-restore.c:195: undefined reference to `init_extensions4'
xtables_compat_multi-xtables-standalone.o: In function `xtables_main':
/home/pablo/devel/iptables/iptables/xtables-standalone.c:61: undefined reference to `init_extensions4'
xtables_compat_multi-xtables-events.o: In function `xtables_events_main':
/home/pablo/devel/iptables/iptables/xtables-events.c:184: undefined reference to `init_extensions4'

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
iptables/Makefile.am