termux_step_configure_cmake: set CMAKE_INSTALL_LIBDIR
Some packages seem to need it, but maybe just when building outside docker image? Set in termux_step_configure_cmake instead of in individual build recipes. %ci:no-build
This commit is contained in:
parent
7e15829077
commit
9155acd040
@ -11,8 +11,6 @@ TERMUX_PKG_BREAKS="c-toxcore-dev"
|
||||
TERMUX_PKG_REPLACES="c-toxcore-dev"
|
||||
#TERMUX_PKG_BUILD_IN_SRC=true
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
||||
-DCMAKE_INSTALL_PREFIX=${TERMUX_PREFIX}
|
||||
-DCMAKE_INSTALL_LIBDIR=${TERMUX_PREFIX}/lib
|
||||
-DBOOTSTRAP_DAEMON=off
|
||||
-DDHT_BOOTSTRAP=off
|
||||
-DBUILD_TOXAV=off
|
||||
|
@ -8,4 +8,3 @@ TERMUX_PKG_SHA256=6c7d2bcaea1433d977d8fed0b55b71c9d045a7cdf616e3cd2dce9007da753d
|
||||
TERMUX_PKG_AUTO_UPDATE=true
|
||||
TERMUX_PKG_BREAKS="cmark-dev"
|
||||
TERMUX_PKG_REPLACES="cmark-dev"
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="-DCMAKE_INSTALL_LIBDIR=$TERMUX_PREFIX/lib"
|
||||
|
@ -13,5 +13,4 @@ TERMUX_PKG_REPLACES="libjasper-dev"
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
||||
-H$TERMUX_PKG_SRCDIR
|
||||
-B$TERMUX_PKG_BUILDDIR
|
||||
-DCMAKE_INSTALL_LIBDIR=$TERMUX_PREFIX/lib
|
||||
"
|
||||
|
@ -40,6 +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_MAKE_PROGRAM=$MAKE_PROGRAM_PATH \
|
||||
-DCMAKE_SKIP_INSTALL_RPATH=ON \
|
||||
-DCMAKE_USE_SYSTEM_LIBRARIES=True \
|
||||
|
Loading…
Reference in New Issue
Block a user