summaryrefslogtreecommitdiff
path: root/extra/lua51/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-02-17 15:23:24 -0300
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-02-17 15:23:24 -0300
commitc09bfc90e874607edab8e77d50d9aa15ea145b53 (patch)
treeba3397a58d32f1e3761cb26a2ee7b965f3c4d348 /extra/lua51/PKGBUILD
parentdd4f80e98fdd486f86ccd77b5ad307d461723844 (diff)
fixes and ports
Diffstat (limited to 'extra/lua51/PKGBUILD')
-rw-r--r--extra/lua51/PKGBUILD1
1 files changed, 1 insertions, 0 deletions
diff --git a/extra/lua51/PKGBUILD b/extra/lua51/PKGBUILD
index f5a8ca11d..d62683e70 100644
--- a/extra/lua51/PKGBUILD
+++ b/extra/lua51/PKGBUILD
@@ -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