From 4e51e8d8bae920159f5a76f2b1be34ed0aa0e062 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Sun, 14 Aug 2016 17:40:55 -0400 Subject: [PATCH] jsoncpp: Set CMAKE_SYSTEM_NAME=Android This avoid a versioned soname. --- packages/jsoncpp/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/jsoncpp/build.sh b/packages/jsoncpp/build.sh index d036a3656..b384d01c7 100644 --- a/packages/jsoncpp/build.sh +++ b/packages/jsoncpp/build.sh @@ -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" \