Parcourir la source

Correct the module path in Context::reload

Jean Fromentin il y a 8 ans
Parent
commit
4823b53c0e
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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;