From a92a3e4fc933e6c9818496106c2be545da0a7f73 Mon Sep 17 00:00:00 2001 From: "/C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net" Date: Tue, 15 Apr 2008 11:48:13 +0000 Subject: [PATCH 02/10] Wrap dlopen code into NO_SHARED_LIBS --- xtables.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'xtables.c') diff --git a/xtables.c b/xtables.c index b988054..743c07b 100644 --- a/xtables.c +++ b/xtables.c @@ -305,6 +305,7 @@ void parse_interface(const char *arg, char *vianame, unsigned char *mask) } } +#ifndef NO_SHARED_LIBS static void *load_extension(const char *search_path, const char *prefix, const char *name, bool is_target) { @@ -353,6 +354,7 @@ static void *load_extension(const char *search_path, const char *prefix, return NULL; } +#endif struct xtables_match *find_match(const char *name, enum xt_tryload tryload, struct xtables_rule_match **matches) -- cgit v1.2.3