Skip to content

Commit

Permalink
Merge pull request #123 from mariux64/correctly-build-lua-with-backwa…
Browse files Browse the repository at this point in the history
…rds-compatibility

Correctly build Lua with backwards compatibility
  • Loading branch information
david authored Sep 14, 2016
2 parents 8a01a8a + 5a262ff commit 986b73c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua.be0
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/env beesh

# BEE_VERSION lua-5.3.3-0
# BEE_VERSION lua-5.3.3-1

SRCURL[0]="https://www.lua.org/ftp/lua-${PKGVERSION}.tar.gz"

Expand All @@ -27,7 +27,7 @@ mee_configure() {
mee_build() {
sed -i '/#define LUA_ROOT/s:/usr/local/:/usr/:' src/luaconf.h

bee_build linux "MYCFLAGS=-fPIC -DLUA_COMPAT_ALL"
bee_build linux "MYCFLAGS=-fPIC -DLUA_COMPAT_5_2 -DLUA_COMPAT_5_1"
cat >lua.pc <<-EOF
V=${PKGVERSION[2]}
R=${PKGVERSION}
Expand Down

0 comments on commit 986b73c

Please sign in to comment.