Browse Source

libcaca: Fix x86_64 build

android-5
Fredrik Fornwall 9 years ago
parent
commit
d4fce2d3f0
  1. 7
      packages/libcaca/build.sh

7
packages/libcaca/build.sh

@ -6,3 +6,10 @@ TERMUX_PKG_SRCURL=http://fossies.org/linux/privat/libcaca-${TERMUX_PKG_VERSION}.
# http://caca.zoy.org/files/libcaca/libcaca-${TERMUX_PKG_VERSION}.tar.gz # http://caca.zoy.org/files/libcaca/libcaca-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_DEPENDS="ncurses" TERMUX_PKG_DEPENDS="ncurses"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-python --disable-java --disable-doc" TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-python --disable-java --disable-doc"
termux_step_post_configure () {
if [ $TERMUX_ARCH = x86_64 ]; then
# Remove troublesome asm usage:
perl -p -i -e 's/#define HAVE_FLDLN2 1//' $TERMUX_PKG_BUILDDIR/config.h
fi
}

Loading…
Cancel
Save