build-package.sh: use $TERMUX_PKG_API_LEVEL for -DCMAKE_SYSYEM_VERSION
This commit is contained in:
parent
68ebfcf4ad
commit
60e337e7fb
@ -946,7 +946,7 @@ termux_step_configure_cmake () {
|
||||
-DCMAKE_MAKE_PROGRAM=$MAKE_PROGRAM_PATH \
|
||||
-DCMAKE_SYSTEM_PROCESSOR=$CMAKE_PROC \
|
||||
-DCMAKE_SYSTEM_NAME=Android \
|
||||
-DCMAKE_SYSTEM_VERSION=21 \
|
||||
-DCMAKE_SYSTEM_VERSION=$TERMUX_PKG_API_LEVEL \
|
||||
-DCMAKE_SKIP_INSTALL_RPATH=ON \
|
||||
-DCMAKE_USE_SYSTEM_LIBRARIES=True \
|
||||
-DBUILD_TESTING=OFF \
|
||||
|
Loading…
Reference in New Issue
Block a user