diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2008-04-14 18:37:57 +0200 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2008-04-15 13:48:13 +0200 |
commit | cb25af809a8734c4766b6bfa4cca99596cbf01db (patch) | |
tree | c681fea68825598cb5fdc382d2ede930e9f24e30 | |
parent | 2c0a0c9eba1d1ab39dcde54bc822d4788f9531fc (diff) |
Wrap dlopen code into NO_SHARED_LIBS
-rw-r--r-- | xtables.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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) |