summaryrefslogtreecommitdiff
path: root/lib/util/modules.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/util/modules.c')
-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 */