Explorar el Código

Correct the module path in Context::reload

Jean Fromentin hace 8 años
padre
commit
4823b53c0e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      interpreter.cpp

+ 1 - 1
interpreter.cpp

@@ -608,7 +608,7 @@ namespace Gomu{
     //we postpone the unload of module->types
     
     //** Load the new version of the library
-    string filename="modules/"+module->name+".so";
+    string filename="ext/"+module->name+".so";
     void* handle=dlopen(filename.c_str(),RTLD_NOW);
     if(not handle){
       handle=nullptr;