diff options
author | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2010-06-08 17:15:51 +0200 |
---|---|---|
committer | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2010-06-08 17:15:51 +0200 |
commit | 4dcf73f8e320b9fd654229cd355fb645df24ed93 (patch) | |
tree | 56c3aa87da15fce661914f6d380f4fc7cedf086d | |
parent | 707e2d3dc96d7396459c053aaf7b3f0319061b99 (diff) |
Fixing search path for linux and macos.
-rw-r--r-- | src/lua-plugin.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua-plugin.cc b/src/lua-plugin.cc index d05efad..1e4ebc7 100644 --- a/src/lua-plugin.cc +++ b/src/lua-plugin.cc @@ -74,7 +74,7 @@ void LuaLoadPlugin(const String & fname, Lua * L) throw (GeneralException) { Base::printm(M_INFO, "Loading library " + fname + "\n"); if (!handle) { - LuaLoadPlugin(&Input(full_fname), L); + LuaLoadPlugin(&Input(fname + "." SHARED_EXT), L); return; } |