]> code.ossystems Code Review - openembedded-core.git/commitdiff
python: explicitly disable bluetooth.h check
authorMartin Jansa <martin.jansa@gmail.com>
Sat, 4 Jan 2014 17:20:20 +0000 (18:20 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 6 Jan 2014 16:30:01 +0000 (16:30 +0000)
* 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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/python/python.inc

index 4991b975f4778338643439c39859c8d610ca9980..5a0766520c23e147c49feb4d943bade170920641 100644 (file)
@@ -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} \
 "