Skip to content

Commit

Permalink
vfs.libarchive: use non sysroot xz
Browse files Browse the repository at this point in the history
  • Loading branch information
heitbaum committed Mar 31, 2024
1 parent 8dd204f commit e1cc107
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,9 @@ PKG_LONGDESC="vfs.libarchive"

PKG_IS_ADDON="yes"
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
}

0 comments on commit e1cc107

Please sign in to comment.