Преглед на файлове

Correct the module path in Context::reload

Jean Fromentin преди 8 години
родител
ревизия
4823b53c0e
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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;