summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2013-05-22 13:46:16 +1000
committerAndrew Bartlett <abartlet@samba.org>2013-05-28 12:17:12 +1000
commit922fe921ce3df0ea7c3b44f07a076301fcbe06fa (patch)
treeb028d7446e59e80d017f1cd75c2eb5f5c2ec4063
parent2bede9d0d6f92046dffe9bcd282fdd791339b10c (diff)
downloadsamba-922fe921ce3df0ea7c3b44f07a076301fcbe06fa.tar.gz
samba-922fe921ce3df0ea7c3b44f07a076301fcbe06fa.tar.bz2
samba-922fe921ce3df0ea7c3b44f07a076301fcbe06fa.zip
lib/util/modules.c: Remove #if SAMBA_BUILD_ == 3 now we only have the waf build
Reviewed-by: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
-rw-r--r--lib/util/modules.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/util/modules.c b/lib/util/modules.c
index 23298da344..828f33a0e1 100644
--- a/lib/util/modules.c
+++ b/lib/util/modules.c
@@ -34,18 +34,10 @@ init_module_fn load_module(const char *path, bool is_probe, void **handle_out)
void *init_fn;
char *error;
-#if _SAMBA_BUILD_ == 3
- /* Always try to use LAZY symbol resolving; if the plugin has
- * backwards compatibility, there might be symbols in the
- * plugin referencing to old (removed) functions
- */
- handle = dlopen(path, RTLD_LAZY);
-#else
/* This should be a WAF build, where modules should be built
* with no undefined symbols and are already linked against
* the libraries that they are loaded by */
handle = dlopen(path, RTLD_NOW);
-#endif
/* This call should reset any possible non-fatal errors that
occured since last call to dl* functions */