LIBDIRSUFFIX can be 64

This commit is contained in:
Gwenhael Le Moine 2020-07-12 09:29:21 +02:00
parent bbb6ba9b89
commit afe7da1cc8
No known key found for this signature in database
GPG key ID: FDFE3669426707A7

View file

@ -41,10 +41,12 @@ sed -i \
-e "s|LUA_VERSION=5.1|LUA_VERSION=$LUA_VERSION|" \
lgi/Makefile
make LUA_LIBDIR=/usr/lib/lua/$LUA_VERSION \
LIBDIRSUFFIX=$( uname -m | grep -o 64 )
make LUA_LIBDIR=/usr/lib$LIBDIRSUFFIX/lua/$LUA_VERSION \
LUA_SHAREDIR=/usr/share/lua/$LUA_VERSION \
PREFIX=/usr CFLAGS="$SLKCFLAGS"
make LUA_LIBDIR=/usr/lib/lua/$LUA_VERSION \
make LUA_LIBDIR=/usr/lib$LIBDIRSUFFIX/lua/$LUA_VERSION \
LUA_SHAREDIR=/usr/share/lua/$LUA_VERSION \
DESTDIR=$PKG install