From 969f1968f2f74f8f09c4788bc7f7b1c9655ad354 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Mon, 5 May 2014 20:04:08 +1000 Subject: Call skang modules from extantz. Needs some clean up. --- lib/skang.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/skang.lua b/lib/skang.lua index 880af17..33ae895 100644 --- a/lib/skang.lua +++ b/lib/skang.lua @@ -135,7 +135,9 @@ moduleBegin = function (name, author, copyright, version, timestamp, skin, isLua end _M.VERSION = version .. versionName .. timestamp _M.VERSION_DESC = versionDesc + -- If there is a .skang file, read that in and override the passed in skin. + -- TODO - At this point it would be nice if we knew where the module came from, so we can search for the skin file in THAT directory. local f = io.open(name .. '.skang') if f then skin = f:read('*l') @@ -1010,7 +1012,7 @@ end -- Get our C functions installed into skang. -- This has to be after thingasm is defined. -package.cpath = package.cpath .. ';../../lib/lib?.so' +package.cpath = package.cpath .. ';./lib/lib?.so;../lib/lib?.so;../../lib/lib?.so' local GuiLua = require 'GuiLua' -- cgit v1.1