diff --git a/Python/importdl.c b/Python/importdl.c index e05e50f58f1..b1b13a160b6 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;