Pārlūkot izejas kodu

Correct the module path in Context::reload

Jean Fromentin 9 gadi atpakaļ
vecāks
revīzija
4823b53c0e
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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;