jsoncpp: Set CMAKE_SYSTEM_NAME=Android
This avoid a versioned soname.
This commit is contained in:
parent
207d97f775
commit
4e51e8d8ba
@ -23,7 +23,7 @@ termux_step_configure () {
|
||||
-DCMAKE_LINKER=`which ${TERMUX_HOST_PLATFORM}-ld` \
|
||||
-DCMAKE_MAKE_PROGRAM=`which make` \
|
||||
-DCMAKE_RANLIB=`which ${TERMUX_HOST_PLATFORM}-ranlib` \
|
||||
-DCMAKE_SYSTEM_NAME=Linux \
|
||||
-DCMAKE_SYSTEM_NAME=Android \
|
||||
-DPKG_CONFIG_EXECUTABLE=$PKG_CONFIG \
|
||||
-DZLIB_LIBRARY:FILEPATH="$TERMUX_STANDALONE_TOOLCHAIN/sysroot/usr/lib/libz.so" \
|
||||
-DZLIB_INCLUDE_DIR:PATH="$TERMUX_STANDALONE_TOOLCHAIN/sysroot/usr/include" \
|
||||
|
Loading…
Reference in New Issue
Block a user