# HG changeset patch # User Pascal Bellard # Date 1425634641 -3600 # Node ID b942370ae50f19b8c2db3571f3f4e1a1aaac550b # Parent 14154392a2a15a77bd10d0f702e8df2695966fdc micropython: force libffi link diff -r 14154392a2a1 -r b942370ae50f micropython/receipt --- a/micropython/receipt Fri Mar 06 09:26:39 2015 +0100 +++ b/micropython/receipt Fri Mar 06 10:37:21 2015 +0100 @@ -11,16 +11,16 @@ WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/v$VERSION.tar.gz" DEPENDS="readline libffi" -BUILD_DEPENDS="wget git readline-dev libffi-dev" +BUILD_DEPENDS="wget git readline-dev libffi-dev pkg-config" # Rules to configure and make the package. compile_rules() { sed -i 's|bash|sh|' $src/py/py-version.sh - sed -i 's|-lreadline|& -lncurses -ldl|' $src/unix/Makefile + sed -i 's|-lreadline|& -lncurses -ldl -lffi|' $src/unix/Makefile cd unix - make + make -j 1 } # Rules to gen a SliTaz package suitable for Tazpkg.