diff --git a/package/libpcap/libpcap.mk b/package/libpcap/libpcap.mk index daa369f66c..8cc444e7af 100644 --- a/package/libpcap/libpcap.mk +++ b/package/libpcap/libpcap.mk @@ -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