From 2af00064dd399a68ea9d8515bb10525648878c5e Mon Sep 17 00:00:00 2001 From: Henrik Grimler Date: Tue, 19 Apr 2022 14:44:56 +0200 Subject: [PATCH] termux_step_configure_cmake: fix CMAKE_INSTALL_LIBDIR var CMake docs [1] show that the variable should be a path relative to prefix, not an absolute path. [1] https://cmake.org/cmake/help/latest/module/GNUInstallDirs.html Fixes: 9155acd04029 ("termux_step_configure_cmake: set CMAKE_INSTALL_LIBDIR") Fixes: https://github.com/termux/termux-packages/issues/10068 --- scripts/build/configure/termux_step_configure_cmake.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build/configure/termux_step_configure_cmake.sh b/scripts/build/configure/termux_step_configure_cmake.sh index 0e6f01d81a..03c56244e7 100644 --- a/scripts/build/configure/termux_step_configure_cmake.sh +++ b/scripts/build/configure/termux_step_configure_cmake.sh @@ -40,7 +40,7 @@ termux_step_configure_cmake() { -DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE=ONLY \ -DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY=ONLY \ -DCMAKE_INSTALL_PREFIX=$TERMUX_PREFIX \ - -DCMAKE_INSTALL_LIBDIR=$TERMUX_PREFIX/lib \ + -DCMAKE_INSTALL_LIBDIR=lib \ -DCMAKE_MAKE_PROGRAM=$MAKE_PROGRAM_PATH \ -DCMAKE_SKIP_INSTALL_RPATH=ON \ -DCMAKE_USE_SYSTEM_LIBRARIES=True \