diff options
author | David Walter Seikel | 2014-01-13 21:08:31 +1000 |
---|---|---|
committer | David Walter Seikel | 2014-01-13 21:08:31 +1000 |
commit | 637177eb1397ef1800027bccd50dbdc1af29a15b (patch) | |
tree | 3670a48303d05fceb8bf3ec4ee2901b72fe62d4d /LuaSL | |
parent | Update Irrlicht to 1.8.1. Include actual change markers this time. lol (diff) | |
download | SledjHamr-637177eb1397ef1800027bccd50dbdc1af29a15b.zip SledjHamr-637177eb1397ef1800027bccd50dbdc1af29a15b.tar.gz SledjHamr-637177eb1397ef1800027bccd50dbdc1af29a15b.tar.bz2 SledjHamr-637177eb1397ef1800027bccd50dbdc1af29a15b.tar.xz |
Remove LuaJIT source, we can use packaged LuaJIT 2.0 release now.
Also some cleanups related to the other library removals.
Diffstat (limited to 'LuaSL')
-rwxr-xr-x | LuaSL/build.sh | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/LuaSL/build.sh b/LuaSL/build.sh index c568a02..4605cb0 100755 --- a/LuaSL/build.sh +++ b/LuaSL/build.sh | |||
@@ -19,7 +19,8 @@ fi | |||
19 | 19 | ||
20 | CFLAGS="-g -Wall -Wunreachable-code -I include -I $LOCALDIR/src" | 20 | CFLAGS="-g -Wall -Wunreachable-code -I include -I $LOCALDIR/src" |
21 | CFLAGS="$CFLAGS -I ../../libraries" | 21 | CFLAGS="$CFLAGS -I ../../libraries" |
22 | CFLAGS="$CFLAGS -I ../../libraries/luajit-2.0/src" | 22 | #CFLAGS="$CFLAGS -I ../../libraries/LuaJIT-2.0.2/src" |
23 | CFLAGS="$CFLAGS $(pkg-config --cflags luajit)" | ||
23 | #CFLAGS="$CFLAGS -I /usr/include/lua5.1" | 24 | #CFLAGS="$CFLAGS -I /usr/include/lua5.1" |
24 | CFLAGS="$CFLAGS -I $E17DIR/include/eo-1" | 25 | CFLAGS="$CFLAGS -I $E17DIR/include/eo-1" |
25 | CFLAGS="$CFLAGS -I $E17DIR/include/eina-1" | 26 | CFLAGS="$CFLAGS -I $E17DIR/include/eina-1" |
@@ -36,8 +37,10 @@ CFLAGS="$CFLAGS -I $E17DIR/include/ecore-file-1" | |||
36 | CFLAGS="$CFLAGS -I $E17DIR/include" | 37 | CFLAGS="$CFLAGS -I $E17DIR/include" |
37 | CFLAGS="$CFLAGS -DPACKAGE_DATA_DIR=\"$LOCALDIR\" $CFLAGOPTS" | 38 | CFLAGS="$CFLAGS -DPACKAGE_DATA_DIR=\"$LOCALDIR\" $CFLAGOPTS" |
38 | 39 | ||
39 | LDFLAGS="-L ../../libraries/luajit-2.0/src -L lib -L /usr/lib -L /lib -L $E17DIR/lib" | 40 | #LDFLAGS="-L ../../libraries/LuaJIT-2.0.2/src -L lib -L /usr/lib -L /lib -L $E17DIR/lib" |
40 | libs="-leo -lecore -levas -ledje -lembryo -leet -leina -lluajit -lpthread -lm" | 41 | #libs="-leo -lecore -levas -ledje -lembryo -leet -leina -lluajit -lpthread -lm" |
42 | LDFLAGS="$(pkg-config --libs-only-L luajit) -L lib -L /usr/lib -L /lib -L $E17DIR/lib" | ||
43 | libs="-leo -lecore -levas -ledje -lembryo -leet -leina $(pkg-config --libs-only-L luajit) -lpthread -lm" | ||
41 | #LDFLAGS="-L /usr/lib/lua/5.1 -L lib -L /usr/lib -L /lib -L $E17DIR/lib" | 44 | #LDFLAGS="-L /usr/lib/lua/5.1 -L lib -L /usr/lib -L /lib -L $E17DIR/lib" |
42 | #libs="-lecore -levas -ledje -lembryo -leet -leina -llua5.1 -lpthread -lm" | 45 | #libs="-lecore -levas -ledje -lembryo -leet -leina -llua5.1 -lpthread -lm" |
43 | # These need to be added to libs if linking staticaly, though some parts of EFL don't like that. | 46 | # These need to be added to libs if linking staticaly, though some parts of EFL don't like that. |
@@ -52,7 +55,8 @@ libs="-leo -lecore -levas -ledje -lembryo -leet -leina -lluajit -lpthread -lm" | |||
52 | 55 | ||
53 | LFLAGS="-d" | 56 | LFLAGS="-d" |
54 | EDJE_FLAGS="-id images -fd fonts" | 57 | EDJE_FLAGS="-id images -fd fonts" |
55 | LD_RUN_PATH="../../libraries/luajit-2.0/src:" | 58 | # Dunno why I needed this, not gonna work with a packaged LuaJIT anyway. |
59 | #LD_RUN_PATH="../../libraries/LuaJIT-2.0.2/src:" | ||
56 | 60 | ||
57 | 61 | ||
58 | # Run lemon first, flex depends on it to define the symbol values. | 62 | # Run lemon first, flex depends on it to define the symbol values. |