keystone: Fix installation path

pull/13703/head bootstrap-2022.12.04-r1+apt-android-7
Tee KOBAYASHI 2 months ago committed by xtkoba
parent 26c1239869
commit 7e852575bb

@ -0,0 +1,10 @@
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -50,7 +50,6 @@
# handle cases where the libdir should be lib/, lib64/, or lib/<arch>/
# depending on the target system and cmake options.
include(GNUInstallDirs)
- string(REGEX REPLACE "lib(.*)$" "\\1" LLVM_LIBDIR_SUFFIX "${CMAKE_INSTALL_LIBDIR}")
set(LLVM_LIBDIR_SUFFIX "${LLVM_LIBDIR_SUFFIX}" CACHE STRING "Define suffix of library directory name (32/64)")
endif()

@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="Keystone is a lightweight multi-platform, multi-architec
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=0.9.2
TERMUX_PKG_REVISION=2
TERMUX_PKG_REVISION=3
TERMUX_PKG_SRCURL=https://github.com/keystone-engine/keystone/archive/$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=c9b3a343ed3e05ee168d29daf89820aff9effb2c74c6803c2d9e21d55b5b7c24
TERMUX_PKG_AUTO_UPDATE=true
@ -13,4 +13,6 @@ TERMUX_PKG_REPLACES="keystone-dev"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
-DPYTHON_EXECUTABLE=$(command -v python2.7)
-DBUILD_SHARED_LIBS=ON"
-DBUILD_SHARED_LIBS=ON
-DLLVM_LIBDIR_SUFFIX=
"

Loading…
Cancel
Save