summaryrefslogtreecommitdiff
path: root/extra/lua51/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/lua51/PKGBUILD')
-rw-r--r--extra/lua51/PKGBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/extra/lua51/PKGBUILD b/extra/lua51/PKGBUILD
index 61daa8594..d62683e70 100644
--- a/extra/lua51/PKGBUILD
+++ b/extra/lua51/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=lua51
pkgver=5.1.5
pkgrel=4
pkgdesc='Powerful lightweight programming language designed for extending applications'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://www.lua.org/'
depends=('readline')
license=('MIT')
@@ -29,6 +29,7 @@ build() {
cd lua-$pkgver
[[ $CARCH == x86_64 ]] && export CFLAGS="$CFLAGS -fPIC"
+ [[ $CARCH == mips64el ]] && export CFLAGS="$CFLAGS -fPIC"
sed -e 's:llua:llua5.1:' -e 's:/include:/include/lua5.1:' -i etc/lua.pc
sed -r -e '/^LUA_(SO|A|T)=/ s/lua/lua5.1/' -e '/^LUAC_T=/ s/luac/luac5.1/' \
-i src/Makefile