libpcap: add support for bluez5_utils
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Tue, 29 Jan 2019 22:33:55 +0000 (23:33 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 2 Feb 2019 21:55:46 +0000 (22:55 +0100)
bluez5_utils support has been added since version 1.8.0 and
https://github.com/the-tcpdump-group/libpcap/commit/b3776f3d50df9de9fcf702bd21a3ecb2539ffef4

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/libpcap/libpcap.mk

index daa369f66c811a5ed7f494fef451daa064c676ca..8cc444e7af330774b75cf5e438ef704aa70f9af6 100644 (file)
@@ -24,9 +24,10 @@ define LIBPCAP_CONFIG_REMOVE_RPATH
 endef
 LIBPCAP_POST_BUILD_HOOKS = LIBPCAP_CONFIG_REMOVE_RPATH
 
-# On purpose, not compatible with bluez5
 ifeq ($(BR2_PACKAGE_BLUEZ_UTILS),y)
 LIBPCAP_DEPENDENCIES += bluez_utils
+else ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS),y)
+LIBPCAP_DEPENDENCIES += bluez5_utils
 else
 LIBPCAP_CONF_OPTS += --disable-bluetooth
 endif