Patchwork python: explicitly disable bluetooth.h check

login
register
mail settings
Submitter Martin Jansa
Date Jan. 4, 2014, 5:20 p.m.
Message ID <1388856020-7274-1-git-send-email-Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/64099/
State Accepted
Commit e7fcf1bce8a3f98afc6860b56f5a4702286b51c1
Headers show

Comments

Martin Jansa - Jan. 4, 2014, 5:20 p.m.
* bluetooth.h is autodetected from sysroot and influences 2 python files:
  /usr/include/python2.7/pyconfig-32.h
  /usr/lib/python2.7/lib-dynload/_socket.so
* it doesn't link with bluez, so it wasn't detected by
  test-dependencies.sh, but still causes undeterministic builds and
  should be fixed
* we can use PACKAGECONFIG, but I don't expect many people to use bt
  support in python-socket

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta/recipes-devtools/python/python.inc | 1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/meta/recipes-devtools/python/python.inc b/meta/recipes-devtools/python/python.inc
index 4991b97..5a07665 100644
--- a/meta/recipes-devtools/python/python.inc
+++ b/meta/recipes-devtools/python/python.inc
@@ -26,5 +26,6 @@  EXTRA_OECONF = "\
   --with-signal-module \
   --enable-shared \
   --enable-ipv6=${@base_contains('DISTRO_FEATURES', 'ipv6', 'yes', 'no', d)} \
+  ac_cv_header_bluetooth_bluetooth_h=no ac_cv_header_bluetooth_h=no \
   ${PYTHONLSBOPTS} \
 "