Skip to contentSkip to conversation

python: explicitly disable bluetooth.h check

PATCH New Martin Jansa 1 participant 1 message Jan 4, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python: explicitly disable bluetooth.h check

* 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

---
 meta/recipes-devtools/python/python.inc | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-devtools/python/python.inc +1 -0
index 4991b97..5a07665 100644
@@ -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} \
 "
Signature · 1 line
1.8.4.3