LuaJIT: create soname symlink for cross builds too.
This commit is contained in:
parent
39e81690fe
commit
6b47489e0b
|
@ -1,13 +1,14 @@
|
|||
# Template file for 'LuaJIT'
|
||||
pkgname=LuaJIT
|
||||
version=2.0.3
|
||||
revision=3
|
||||
revision=4
|
||||
short_desc="A Just-In-Time Compiler for Lua"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
homepage="http://www.luajit.org"
|
||||
license="MIT"
|
||||
distfiles="http://luajit.org/download/$pkgname-$version.tar.gz"
|
||||
checksum=55be6cb2d101ed38acca32c5b1f99ae345904b365b642203194c585d27bebd79
|
||||
|
||||
if [ "$XBPS_MACHINE" = "x86_64" -a "$CROSS_BUILD" ]; then
|
||||
hostmakedepends="cross-i686-pc-linux-gnu glibc-32bit"
|
||||
_cross_cc="HOST_CC=i686-pc-linux-gnu-gcc"
|
||||
|
@ -29,6 +30,8 @@ do_build() {
|
|||
do_install() {
|
||||
make DPREFIX=${DESTDIR}/usr DESTDIR=${DESTDIR} \
|
||||
INSTALL_SHARE=${DESTDIR}/usr/share PREFIX=/usr install
|
||||
|
||||
ln -s libluajit-5.1.so.2.0.3 ${DESTDIR}/usr/lib/libluajit-5.1.so.2
|
||||
}
|
||||
|
||||
LuaJIT-devel_package() {
|
||||
|
|
Loading…
Reference in New Issue