when rebuilding we were running into issues where /usr/lib64 was
being made /usr/lib6464 and install was failing. Now we check if /lib
is at the end of line then only we replace it.
Fixes the reinstall issue
(From meta-openembedded rev:
f7f166542cc3a3f4ae24d5f6e0bd2efbf00a3a7c)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
HOMEPAGE = "http://luajit.org"
DEPENDS += "lua5.1"
-PR = "r0"
+PR = "r1"
SRC_URI = "http://luajit.org/download/LuaJIT-${PV}.tar.gz \
file://disable_lj_vm_foldarith_for_spe.patch \
"
do_configure_prepend() {
sed -i -e s:/usr/local:${prefix}:g ${S}/Makefile
- sed -i -e s:/lib:${base_libdir}:g ${S}/Makefile
+ sed -i -e s:/lib$:${base_libdir}:g ${S}/Makefile
}
EXTRA_OEMAKE = 'CROSS=${HOST_PREFIX}'