package/domoticz: set WITH_LIBUSB
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Thu, 7 May 2020 22:37:20 +0000 (00:37 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Fri, 8 May 2020 08:15:40 +0000 (10:15 +0200)
Use WITH_LIBUSB which is available since version 4.9700 and
https://github.com/domoticz/domoticz/commit/f53817577a834ed0c3fc16458c374aea490be49e

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/domoticz/domoticz.mk

index 5efe86a7848361e668b797cedd209867ec0ebc95..0ceaab87b458c42b11304b4c34f70fb6fc0c7779 100644 (file)
@@ -38,6 +38,9 @@ DOMOTICZ_CONF_OPTS += \
 
 ifeq ($(BR2_PACKAGE_LIBUSB),y)
 DOMOTICZ_DEPENDENCIES += libusb
+DOMOTICZ_CONF_OPTS += -DWITH_LIBUSB=ON
+else
+DOMOTICZ_CONF_OPTS += -DWITH_LIBUSB=OFF
 endif
 
 ifeq ($(BR2_PACKAGE_OPENZWAVE),y)