diff options
author | David Walter Seikel | 2014-04-21 20:41:26 +1000 |
---|---|---|
committer | David Walter Seikel | 2014-04-21 20:41:26 +1000 |
commit | aae73e4dfa340f3ca0239dce92f1b564518ad834 (patch) | |
tree | 0550a5e077bff32f78137b46810f7b7627c5c662 /ClientHamr/GuiLua/skang.lua | |
parent | Use rpath to tell programs where to find our libraries. (diff) | |
download | SledjHamr-aae73e4dfa340f3ca0239dce92f1b564518ad834.zip SledjHamr-aae73e4dfa340f3ca0239dce92f1b564518ad834.tar.gz SledjHamr-aae73e4dfa340f3ca0239dce92f1b564518ad834.tar.bz2 SledjHamr-aae73e4dfa340f3ca0239dce92f1b564518ad834.tar.xz |
Shift libGuiLua.so to the libraries directory.
Diffstat (limited to '')
-rw-r--r-- | ClientHamr/GuiLua/skang.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ClientHamr/GuiLua/skang.lua b/ClientHamr/GuiLua/skang.lua index 6e22b3d..23549c3 100644 --- a/ClientHamr/GuiLua/skang.lua +++ b/ClientHamr/GuiLua/skang.lua | |||
@@ -1010,7 +1010,8 @@ end | |||
1010 | 1010 | ||
1011 | -- Get our C functions installed into skang. | 1011 | -- Get our C functions installed into skang. |
1012 | -- This has to be after thingasm is defined. | 1012 | -- This has to be after thingasm is defined. |
1013 | local GuiLua = require 'libGuiLua' | 1013 | package.cpath = package.cpath .. ';../../libraries/lib?.so' |
1014 | local GuiLua = require 'GuiLua' | ||
1014 | 1015 | ||
1015 | 1016 | ||
1016 | thingasm('module,l', 'Load a module.', module, 'file') | 1017 | thingasm('module,l', 'Load a module.', module, 'file') |