From 3823420ca4432c20892cbff0267219fe16358a94 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Wed, 31 Jul 1996 17:55:19 +0000 Subject: If NO_DYNAMIC_LINK is defined, load_dynamic_module() will always fail. --- Python/importdl.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Python/importdl.c b/Python/importdl.c index e05e50f..b1b13a1 100644 --- a/Python/importdl.c +++ b/Python/importdl.c @@ -214,6 +214,10 @@ struct filedescr import_filetab[] = { {0, 0} }; +#ifdef NO_DYNAMIC_LINK +#undef DYNAMIC_LINK +#endif + object * load_dynamic_module(name, pathname, fp) char *name; -- cgit v0.12