From 4dcf73f8e320b9fd654229cd355fb645df24ed93 Mon Sep 17 00:00:00 2001 From: "Nicolas \"Pixel\" Noble" Date: Tue, 8 Jun 2010 17:15:51 +0200 Subject: Fixing search path for linux and macos. --- src/lua-plugin.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3