mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
python-pycurl: Fix building
Add python to DEPENDS and ensure the required environment variables are available at build time. Signed-off-by: Joshua Lock <josh@linux.intel.com>
This commit is contained in:
@@ -2,7 +2,7 @@ DESCRIPTION = "libcurl Python Bindings"
|
|||||||
SECTION = "devel/python"
|
SECTION = "devel/python"
|
||||||
PRIORITY = "optional"
|
PRIORITY = "optional"
|
||||||
LICENSE = "LGPL"
|
LICENSE = "LGPL"
|
||||||
DEPENDS = "curl"
|
DEPENDS = "curl python"
|
||||||
SRCNAME = "pycurl"
|
SRCNAME = "pycurl"
|
||||||
PR = "r0"
|
PR = "r0"
|
||||||
|
|
||||||
@@ -17,6 +17,8 @@ inherit distutils
|
|||||||
# need to export these variables for python-config to work
|
# need to export these variables for python-config to work
|
||||||
export BUILD_SYS
|
export BUILD_SYS
|
||||||
export HOST_SYS
|
export HOST_SYS
|
||||||
|
export STAGING_INCDIR
|
||||||
|
export STAGING_LIBDIR
|
||||||
|
|
||||||
RDEPENDS = "python-core curl"
|
RDEPENDS = "python-core curl"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user