summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lua-plugin.cc2
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;
}