openjpeg: Force fresh symlinks

This commit is contained in:
Fredrik Fornwall 2015-07-15 07:55:38 -04:00
parent 7499d94719
commit 5ff1163101

View File

@ -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` \