aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/build.lua
diff options
context:
space:
mode:
authorDavid Walter Seikel2016-07-21 20:36:41 +1000
committerDavid Walter Seikel2016-07-21 20:36:41 +1000
commit79f0c88a47d9fbfa1a57672f52d4cd730fc6f12c (patch)
tree7af248cd2cf11130e493499216ef16a1d5dbc526 /build.lua
parentUpdate Lua building stuff. (diff)
downloadSledjHamr-79f0c88a47d9fbfa1a57672f52d4cd730fc6f12c.zip
SledjHamr-79f0c88a47d9fbfa1a57672f52d4cd730fc6f12c.tar.gz
SledjHamr-79f0c88a47d9fbfa1a57672f52d4cd730fc6f12c.tar.bz2
SledjHamr-79f0c88a47d9fbfa1a57672f52d4cd730fc6f12c.tar.xz
Move luajit.pc to lib directory.
Diffstat (limited to 'build.lua')
-rwxr-xr-xbuild.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/build.lua b/build.lua
index ed5964e..f9501c0 100755
--- a/build.lua
+++ b/build.lua
@@ -83,6 +83,8 @@ CFLAGOPTS = readCommand('echo "$CFLAGOPTS"')
83-- Make sure any old servers are killed off. 83-- Make sure any old servers are killed off.
84os.execute(baseDir .. '/bin/killem.sh') 84os.execute(baseDir .. '/bin/killem.sh')
85 85
86PKG_CONFIG_PATH = baseDir .. '/lib:' .. readCommand('echo $PKG_CONFIG_PATH')
87
86CFLAGS = '-g -Wall -I ' .. baseDir .. '/src/libraries' 88CFLAGS = '-g -Wall -I ' .. baseDir .. '/src/libraries'
87CFLAGS = CFLAGS .. ' ' .. pkgConfig('cflags', 'luajit') 89CFLAGS = CFLAGS .. ' ' .. pkgConfig('cflags', 'luajit')
88--CFLAGS = CFLAGS .. ' ' .. '-I ' .. baseDir .. '/include/luajit-2.0' 90--CFLAGS = CFLAGS .. ' ' .. '-I ' .. baseDir .. '/include/luajit-2.0'