mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
vfs.libarchive: use non sysroot xz
This commit is contained in:
parent
68ab1109c2
commit
6ad51b0056
@ -16,3 +16,9 @@ PKG_LONGDESC="vfs.libarchive"
|
|||||||
|
|
||||||
PKG_IS_ADDON="yes"
|
PKG_IS_ADDON="yes"
|
||||||
PKG_ADDON_TYPE="kodi.vfs"
|
PKG_ADDON_TYPE="kodi.vfs"
|
||||||
|
|
||||||
|
pre_configure_target() {
|
||||||
|
export LibLZMA_ROOT="$(get_install_dir xz)/usr"
|
||||||
|
sed -i -e 's/^cmake_minimum_required(VERSION 3.5)/cmake_minimum_required(VERSION 3.12)/' \
|
||||||
|
-e 's/^find_package(LibLZMA REQUIRED)/set(CMAKE_FIND_OLD_ROOT_PATH ${CMAKE_FIND_ROOT_PATH})\nset(CMAKE_FIND_ROOT_PATH "")\nfind_package(LibLZMA REQUIRED)\nset(CMAKE_FIND_ROOT_PATH ${CMAKE_FIND_OLD_ROOT_PATH})/' ../CMakeLists.txt
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user