|
|
@ -10,7 +10,7 @@ termux_step_pre_configure() { |
|
|
|
|
|
|
|
termux_step_configure () { |
|
|
|
cd $TERMUX_PKG_BUILDDIR |
|
|
|
cmake -G "Unix Makefiles" .. \ |
|
|
|
cmake -G "Unix Makefiles" $TERMUX_PKG_SRCDIR \ |
|
|
|
-DCMAKE_AR=`which ${TERMUX_HOST_PLATFORM}-ar` \ |
|
|
|
-DCMAKE_BUILD_TYPE=MinSizeRel \ |
|
|
|
-DCMAKE_C_FLAGS="$CFLAGS $CPPFLAGS" \ |
|
|
@ -28,6 +28,5 @@ termux_step_configure () { |
|
|
|
-DCMAKE_USE_SYSTEM_LIBRARIES=True \ |
|
|
|
-DZLIB_INCLUDE_DIR=$TERMUX_STANDALONE_TOOLCHAIN/sysroot/usr/include \ |
|
|
|
-DZLIB_LIBRARY=$TERMUX_STANDALONE_TOOLCHAIN/sysroot/usr/lib/libz.so \ |
|
|
|
-DBUILD_TESTING=OFF \ |
|
|
|
$TERMUX_PKG_SRCDIR |
|
|
|
-DBUILD_TESTING=OFF |
|
|
|
} |
|
|
|