[luarocks] avoid detecting luajit
This commit is contained in:
parent
c113cf740c
commit
1d76ab1295
1 changed files with 3 additions and 2 deletions
|
@ -46,13 +46,14 @@ cd $PRGNAM
|
|||
CFLAGS=$SLCKFLAGS \
|
||||
CPPFLAGS=$SLCKFLAGS \
|
||||
./configure \
|
||||
--prefix=$PREFIX
|
||||
--prefix=$PREFIX \
|
||||
--lua-version=$(lua -v | rg -o "[0-9]\.[0-9]" | head -n1)
|
||||
|
||||
# compilation
|
||||
make -j3 PREFIX=$PREFIX
|
||||
|
||||
# installation
|
||||
make install DESTDIR=$PKG ROCKS_TREE=$PREFIX/lib64/luarocks #LUADIR=$PREFIX/lib64/lua/5.1
|
||||
make install DESTDIR=$PKG ROCKS_TREE=$PREFIX/lib64/luarocks
|
||||
|
||||
mkdir -p $PKG/etc/profile.d/
|
||||
cat <<EOF > $PKG/etc/profile.d/luarocks.sh
|
||||
|
|
Loading…
Reference in a new issue