]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
python: explicitly disable bluetooth.h check
authorMartin Jansa <Martin.Jansa@gmail.com>
Sat, 4 Jan 2014 17:15:54 +0000 (18:15 +0100)
committerMartin Jansa <Martin.Jansa@gmail.com>
Mon, 20 Apr 2015 14:31:41 +0000 (16:31 +0200)
* 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

index d0ed55b3b12b11f95617c1fec3d66e71a705d0aa..3de1991f4e28b18aeba5f0b39acaa079240e3567 100644 (file)
@@ -27,5 +27,6 @@ EXTRA_OECONF = "\
   --with-signal-module \
   --with-wctype-functions \
   --enable-shared \
+  ac_cv_header_bluetooth_bluetooth_h=no ac_cv_header_bluetooth_h=no \
   ${PYTHONLSBOPTS} \
 "