summaryrefslogtreecommitdiffstats
path: root/iptables-save.c
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2009-07-23 17:41:21 +0200
committerJan Engelhardt <jengelh@medozas.de>2009-07-25 21:40:56 +0200
commitb79ec69027fd8b65e7eccd78a445b6665e8ad53b (patch)
treed0fa5dae1958bbf190844ea109e7ed27fa778b60 /iptables-save.c
parent4186f8aa0b113ea1a52aa90292ff89b96bed9c39 (diff)
build: combine iptables-multi and iptables-static
Changed the Makefile so that: 1. --enable-shared / --disable-shared control the linkage against libdl (and thus the potential to use 3rd party extensions) 2. --enable-static / --disable-static controls whether shipped extensions are built-in or provided as modules iptables-static becomes redundant by this action; iptables-multi now has the feature. Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'iptables-save.c')
-rw-r--r--iptables-save.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/iptables-save.c b/iptables-save.c
index f63ee6b1..3bcf4227 100644
--- a/iptables-save.c
+++ b/iptables-save.c
@@ -148,7 +148,7 @@ main(int argc, char *argv[])
iptables_globals.program_version);
exit(1);
}
-#ifdef NO_SHARED_LIBS
+#if defined(ALL_INCLUSIVE) || defined(NO_SHARED_LIBS)
init_extensions();
#endif