aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDavid Walter Seikel2014-04-21 20:40:05 +1000
committerDavid Walter Seikel2014-04-21 20:40:05 +1000
commite75c2c6233939d50a98c548a9f5bf1b7a58cf578 (patch)
treee8c12ef9718ae860b6107484c50148340b643c1e
parentKill more excess EFL logging. (diff)
downloadSledjHamr-e75c2c6233939d50a98c548a9f5bf1b7a58cf578.zip
SledjHamr-e75c2c6233939d50a98c548a9f5bf1b7a58cf578.tar.gz
SledjHamr-e75c2c6233939d50a98c548a9f5bf1b7a58cf578.tar.bz2
SledjHamr-e75c2c6233939d50a98c548a9f5bf1b7a58cf578.tar.xz
Use rpath to tell programs where to find our libraries.
-rwxr-xr-xClientHamr/GuiLua/test.sh2
-rwxr-xr-xbuild.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/ClientHamr/GuiLua/test.sh b/ClientHamr/GuiLua/test.sh
index 93a4afb..1effdb3 100755
--- a/ClientHamr/GuiLua/test.sh
+++ b/ClientHamr/GuiLua/test.sh
@@ -1,3 +1,3 @@
1#! /bin/bash 1#! /bin/bash
2 2
3export LD_LIBRARY_PATH=".:../../libraries"; ./skang -l test -foo "argy bargy" 3./skang -l test -foo "argy bargy"
diff --git a/build.lua b/build.lua
index 4e37af0..f9cd6c2 100755
--- a/build.lua
+++ b/build.lua
@@ -77,7 +77,7 @@ CFLAGS = CFLAGS .. ' -DPACKAGE_DATA_DIR=\\"' .. baseDir .. '\\"'
77CFLAGS = CFLAGS .. ' ' .. CFLAGOPTS 77CFLAGS = CFLAGS .. ' ' .. CFLAGOPTS
78 78
79LDFLAGS = '-L ' .. baseDir .. '/libraries ' .. pkgConfig('libs-only-L', 'luajit') .. ' -L /usr/lib -L /lib' 79LDFLAGS = '-L ' .. baseDir .. '/libraries ' .. pkgConfig('libs-only-L', 'luajit') .. ' -L /usr/lib -L /lib'
80libs = '-lLumbrJack -lRunnr ' .. pkgConfig('libs', 'elementary') .. ' ' .. pkgConfig('libs', 'luajit') .. ' -lpthread -lm' 80libs = '-lLumbrJack -lRunnr ' .. pkgConfig('libs', 'elementary') .. ' ' .. pkgConfig('libs', 'luajit') .. ' -lpthread -lm -Wl,-rpath,' .. baseDir .. '/libraries'
81LFLAGS = '-d' 81LFLAGS = '-d'
82EDJE_FLAGS = '-id ' .. baseDir .. '/images -fd ' .. baseDir .. '/fonts' 82EDJE_FLAGS = '-id ' .. baseDir .. '/images -fd ' .. baseDir .. '/fonts'
83 83