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: 9155acd040
("termux_step_configure_cmake: set CMAKE_INSTALL_LIBDIR")
Fixes: https://github.com/termux/termux-packages/issues/10068
This commit is contained in:
parent
f8e833c90b
commit
2af00064dd
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user