mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
Make sure bluez programs (cross-)compile, add missing statics.
Spotted by Blue Swirl. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5358 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
ada24f8466
commit
e820e3f459
2 changed files with 13 additions and 3 deletions
10
configure
vendored
10
configure
vendored
|
@ -900,8 +900,18 @@ if test "$bluez" = "yes" ; then
|
|||
`pkg-config bluez` || bluez="no"
|
||||
fi
|
||||
if test "$bluez" = "yes" ; then
|
||||
cat > $TMPC << EOF
|
||||
#include <bluetooth/bluetooth.h>
|
||||
int main(void) { return bt_error(0); }
|
||||
EOF
|
||||
bluez_cflags=`pkg-config --cflags bluez`
|
||||
bluez_libs=`pkg-config --libs bluez`
|
||||
if $cc $ARCH_CFLAGS -o $TMPE ${OS_FLAGS} $bluez_cflags $TMPC \
|
||||
$bluez_libs 2> /dev/null ; then
|
||||
:
|
||||
else
|
||||
bluez="no"
|
||||
fi
|
||||
fi
|
||||
|
||||
##########################################
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue