aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/python/python3.inc')
-rw-r--r--meta/recipes-devtools/python/python3.inc5
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/recipes-devtools/python/python3.inc b/meta/recipes-devtools/python/python3.inc
index 3207f91ab8..f565b3f171 100644
--- a/meta/recipes-devtools/python/python3.inc
+++ b/meta/recipes-devtools/python/python3.inc
@@ -23,7 +23,7 @@ PYTHON_BINABI = "${PYTHON_MAJMIN}m"
S = "${WORKDIR}/Python-${PV}"
-inherit autotools pkgconfig
+inherit autotools bluetooth pkgconfig
EXTRA_OECONF = "\
--with-threads \
@@ -32,9 +32,10 @@ EXTRA_OECONF = "\
--with-signal-module \
--enable-shared \
--enable-ipv6=${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'yes', 'no', d)} \
- ac_cv_header_bluetooth_bluetooth_h=no ac_cv_header_bluetooth_h=no \
"
+PACKAGECONFIG[bluetooth] = ",ac_cv_header_bluetooth_bluetooth_h=no ac_cv_header_bluetooth_h=no,${BLUEZ}"
+
do_install_append () {
sed -i -e 's:${HOSTTOOLS_DIR}/install:install:g' \
-e 's:${HOSTTOOLS_DIR}/mkdir:mkdir:g' \