aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Fabrice Fontaine <fontaine.fabrice@gmail.com>2019-03-18 23:40:42 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2019-03-19 22:31:09 +0100
commit3033e83d1224c1710cb6f5e0691b80cd62b1c657 (patch)
treed4c4c7578fd4781f106706e687cdf6d9feb6f106
parent1e4da9c1f953679fa2bf42ad4b23fc51e2bfbeb7 (diff)
downloadbuildroot-3033e83d1224c1710cb6f5e0691b80cd62b1c657.tar.gz
buildroot-3033e83d1224c1710cb6f5e0691b80cd62b1c657.tar.bz2
package/libpcap: fix bluez5_utils-headers dependency
Commit c46afc37dc877f1e94ffde0d77585290711b27ec changed bluez5-utils dependency by bluez5_utils-headers without replacing the test on BR2_PACKAGE_BLUEZ5_UTILS by BR2_PACKAGE_BLUEZ5_UTILS_HEADERS Fix this mistake and also add a select on BR2_PACKAGE_BLUEZ5_UTILS_HEADERS if BR2_PACKAGE_BLUEZ5_UTILS is set so the user does not have to do it Fixes: - http://autobuild.buildroot.org/results/c6828df1f3782564451ddd4187ff026679bf37d8 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Acked-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rw-r--r--package/libpcap/Config.in1
-rw-r--r--package/libpcap/libpcap.mk2
2 files changed, 2 insertions, 1 deletions
diff --git a/package/libpcap/Config.in b/package/libpcap/Config.in
index 643acbef6e..74429f209a 100644
--- a/package/libpcap/Config.in
+++ b/package/libpcap/Config.in
@@ -1,5 +1,6 @@
config BR2_PACKAGE_LIBPCAP
bool "libpcap"
+ select BR2_PACKAGE_BLUEZ5_UTILS_HEADERS if BR2_PACKAGE_BLUEZ5_UTILS
select BR2_PACKAGE_ZLIB
help
A system-independent library for user-level network packet
diff --git a/package/libpcap/libpcap.mk b/package/libpcap/libpcap.mk
index 2f46426d37..ebceca5273 100644
--- a/package/libpcap/libpcap.mk
+++ b/package/libpcap/libpcap.mk
@@ -26,7 +26,7 @@ define LIBPCAP_CONFIG_REMOVE_RPATH
endef
LIBPCAP_POST_BUILD_HOOKS = LIBPCAP_CONFIG_REMOVE_RPATH
-ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS),y)
+ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS_HEADERS),y)
LIBPCAP_DEPENDENCIES += bluez5_utils-headers
else
LIBPCAP_CONF_OPTS += --disable-bluetooth