{
emodules_depth--;
dll_close (dlhandle);
+ dlhandle = 0; /* Zero this out before module_load_unwind runs */
return;
}
*/);
/* #### Export this to Lisp */
- Vmodule_extensions = build_string (":.ell:.so:.dll");
+ Vmodule_extensions = build_string (":.ell:.so:.dll:.dylib");
staticpro (&Vmodule_extensions);
load_modules_quietly = 0;