wok rev 17732

micropython: force libffi link
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 06 10:37:21 2015 +0100 (2015-03-06)
parents 14154392a2a1
children 98eec404c54e
files micropython/receipt
line diff
     1.1 --- a/micropython/receipt	Fri Mar 06 09:26:39 2015 +0100
     1.2 +++ b/micropython/receipt	Fri Mar 06 10:37:21 2015 +0100
     1.3 @@ -11,16 +11,16 @@
     1.4  WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/v$VERSION.tar.gz"
     1.5  
     1.6  DEPENDS="readline libffi"
     1.7 -BUILD_DEPENDS="wget git readline-dev libffi-dev"
     1.8 +BUILD_DEPENDS="wget git readline-dev libffi-dev pkg-config"
     1.9  
    1.10  # Rules to configure and make the package.
    1.11  compile_rules()
    1.12  {
    1.13  	sed -i 's|bash|sh|' $src/py/py-version.sh
    1.14 -	sed -i 's|-lreadline|& -lncurses -ldl|' $src/unix/Makefile
    1.15 +	sed -i 's|-lreadline|& -lncurses -ldl -lffi|' $src/unix/Makefile
    1.16  
    1.17  	cd unix
    1.18 -	make
    1.19 +	make -j 1
    1.20  }
    1.21  
    1.22  # Rules to gen a SliTaz package suitable for Tazpkg.