summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Dawson <spdawson@gmail.com>2012-06-16 23:07:40 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2012-06-17 10:19:02 (GMT)
commit929c3e89a6715ecfdc8055ec82025cee5e8e23a1 (patch)
treec0127f8c1c720ede4fe6fab7f1e13d7f29531203
parent1a4b482776db83e331ff787d01512f6d52610f2a (diff)
downloadbuildroot-929c3e89a6715ecfdc8055ec82025cee5e8e23a1.tar.gz
buildroot-929c3e89a6715ecfdc8055ec82025cee5e8e23a1.tar.bz2
libfreefare: add missing openssl dependency
If openssl is not selected, configuration fails for the libfreefare package as follows. configure: error: Cannot find libcrypto. This patch adds the missing dependency on openssl. [Peter: use select instead of depends on] Signed-off-by: Simon Dawson <spdawson@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/libfreefare/Config.in1
-rw-r--r--package/libfreefare/libfreefare.mk2
2 files changed, 2 insertions, 1 deletions
diff --git a/package/libfreefare/Config.in b/package/libfreefare/Config.in
index 2e11f7e..13a8630 100644
--- a/package/libfreefare/Config.in
+++ b/package/libfreefare/Config.in
@@ -1,5 +1,6 @@
config BR2_PACKAGE_LIBFREEFARE
bool "libfreefare"
+ select BR2_PACKAGE_OPENSSL
select BR2_PACKAGE_LIBNFC
help
Library for high level manipulation of MIFARE cards.
diff --git a/package/libfreefare/libfreefare.mk b/package/libfreefare/libfreefare.mk
index 0499999..16ef8fb 100644
--- a/package/libfreefare/libfreefare.mk
+++ b/package/libfreefare/libfreefare.mk
@@ -5,6 +5,6 @@
#############################################################
LIBFREEFARE_VERSION = 0.3.2
LIBFREEFARE_SITE = http://nfc-tools.googlecode.com/files
-LIBFREEFARE_DEPENDENCIES = libnfc
+LIBFREEFARE_DEPENDENCIES = libnfc openssl
$(eval $(call AUTOTARGETS))