From 895604fe60d611829de6dc74a3e502cf734bc3c1 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Tue, 10 May 2016 08:09:55 -0400 Subject: [PATCH] finch: Fix clean build --- packages/finch/build.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/packages/finch/build.sh b/packages/finch/build.sh index f3821dcc7..de72e8e75 100644 --- a/packages/finch/build.sh +++ b/packages/finch/build.sh @@ -10,6 +10,21 @@ TERMUX_PKG_RM_AFTER_INSTALL="share/sounds/purple lib/purple-2/libmsn.so" # For arpa: CFLAGS="$CFLAGS -isystem $TERMUX_PKG_BUILDER_DIR" +termux_step_post_configure () { + # Hack to compile first version of libpurple-ciphers.la + cp $TERMUX_PREFIX/lib/libxml2.so $TERMUX_PREFIX/lib/libpurple.so + + cd $TERMUX_PKG_BUILDDIR/libpurple/ciphers + make libpurple-ciphers.la + cd .. + make libpurple.la + + # Put a more proper version in lib: + cp .libs/libpurple.so $TERMUX_PREFIX/lib/ + + make clean +} + termux_step_post_make_install () { cd $TERMUX_PREFIX/lib for lib in jabber oscar ymsg; do