Browse Source

python-cffi: fix host build/installation

Fixes:
https://github.com/openwrt/packages/issues/5318

Not sure how this worked before.
The host python-cffi needs a libffi installed on the host side.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
lilik-openwrt-22.03
Alexandru Ardelean 7 years ago
parent
commit
77ee36c7c8
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      lang/python/python-cffi/Makefile

+ 3
- 1
lang/python/python-cffi/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=python-cffi
PKG_VERSION:=1.11.2
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=cffi-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://pypi.python.org/packages/c9/70/89b68b6600d479034276fed316e14b9107d50a62f5627da37fafe083fde3
@ -21,6 +21,8 @@ PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=LICENSE
PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>, Alexandru Ardelean <ardeleanalex@gmail.com>
PKG_BUILD_DEPENDS:=libffi/host
HOST_PYTHON_PACKAGE_BUILD_DEPENDS:="cffi==$(PKG_VERSION)"
HOST_PYTHON3_PACKAGE_BUILD_DEPENDS:="cffi==$(PKG_VERSION)"


Loading…
Cancel
Save