diff --git a/Makefile b/Makefile index a50e868b45..7dc83fdc48 100644 --- a/Makefile +++ b/Makefile @@ -203,7 +203,7 @@ vnc-auth-sasl.o: vnc-auth-sasl.c vnc.h curses.o: curses.c keymaps.h curses_keys.h -bt-host.o: CFLAGS += $(CONFIG_BLUEZ_CFLAGS) +bt-host.o: CFLAGS += $(BLUEZ_CFLAGS) libqemu_common.a: $(obj-y) diff --git a/Makefile.target b/Makefile.target index 43ad50fa13..f512fd1f16 100644 --- a/Makefile.target +++ b/Makefile.target @@ -466,7 +466,7 @@ LIBS += $(VNC_SASL_LIBS) endif ifdef CONFIG_BLUEZ -LIBS += $(CONFIG_BLUEZ_LIBS) +LIBS += $(BLUEZ_LIBS) endif # xen backend driver support diff --git a/configure b/configure index 2528b2c446..227a8c790e 100755 --- a/configure +++ b/configure @@ -1737,8 +1737,8 @@ if test "$brlapi" = "yes" ; then fi if test "$bluez" = "yes" ; then echo "CONFIG_BLUEZ=y" >> $config_host_mak - echo "CONFIG_BLUEZ_CFLAGS=$bluez_cflags" >> $config_host_mak - echo "CONFIG_BLUEZ_LIBS=$bluez_libs" >> $config_host_mak + echo "BLUEZ_CFLAGS=$bluez_cflags" >> $config_host_mak + echo "BLUEZ_LIBS=$bluez_libs" >> $config_host_mak echo "#define CONFIG_BLUEZ 1" >> $config_host_h fi if test "$xen" = "yes" ; then