X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/dc27375f20a554785d6a23ca374e1a5087065f13..cba7ea1db4c7be079153be712634ddc56ff83a4f:/packages/jsoncpp/build.sh diff --git a/packages/jsoncpp/build.sh b/packages/jsoncpp/build.sh index f1a69f9e..905b29ab 100644 --- a/packages/jsoncpp/build.sh +++ b/packages/jsoncpp/build.sh @@ -1,10 +1,14 @@ TERMUX_PKG_HOMEPAGE=https://github.com/open-source-parsers/jsoncpp TERMUX_PKG_DESCRIPTION="C++ library for interacting with JSON" -TERMUX_PKG_VERSION=1.6.5 +TERMUX_PKG_VERSION=1.7.2 TERMUX_PKG_SRCURL=https://github.com/open-source-parsers/jsoncpp/archive/${TERMUX_PKG_VERSION}.tar.gz TERMUX_PKG_FOLDERNAME=jsoncpp-${TERMUX_PKG_VERSION} termux_step_configure () { + # The installation does not overwrite symlinks such as libjsoncpp.so.1, + # so if rebuilding these are not detected as modified. Fix that: + rm -f $TERMUX_PREFIX/lib/libjsoncpp.so* + cd $TERMUX_PKG_BUILDDIR cmake -G "Unix Makefiles" .. \ -DCMAKE_AR=`which ${TERMUX_HOST_PLATFORM}-ar` \