Ver código fonte

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>
Simon Dawson 13 anos atrás
pai
commit
929c3e89a6

+ 1 - 0
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.

+ 1 - 1
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))