From 5ff11631019a6ce832b238a10b989a77b449315a Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Wed, 15 Jul 2015 07:55:38 -0400 Subject: [PATCH] openjpeg: Force fresh symlinks --- packages/openjpeg/build.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/openjpeg/build.sh b/packages/openjpeg/build.sh index ff577456e..81edc71e9 100644 --- a/packages/openjpeg/build.sh +++ b/packages/openjpeg/build.sh @@ -5,6 +5,9 @@ TERMUX_PKG_SRCURL=http://downloads.sourceforge.net/project/openjpeg.mirror/${TER TERMUX_PKG_RM_AFTER_INSTALL="lib/openjpeg-2.1/*.cmake" termux_step_configure () { + # Force symlinks to be overwritten: + rm -Rf $TERMUX_PREFIX/lib/libopenjp2.so* + cd $TERMUX_PKG_BUILDDIR cmake -G "Unix Makefiles" .. \ -DCMAKE_AR=`which ${TERMUX_HOST_PLATFORM}-ar` \