|
@@ -9,8 +9,15 @@ OPENSC_SITE = https://github.com/OpenSC/OpenSC/releases/download/$(OPENSC_VERSIO
|
|
|
OPENSC_LICENSE = LGPL-2.1+
|
|
|
OPENSC_LICENSE_FILES = COPYING
|
|
|
OPENSC_CPE_ID_VALID = YES
|
|
|
-OPENSC_DEPENDENCIES = openssl pcsc-lite
|
|
|
+OPENSC_DEPENDENCIES = pcsc-lite
|
|
|
OPENSC_INSTALL_STAGING = YES
|
|
|
OPENSC_CONF_OPTS = --disable-cmocka --disable-strict --disable-tests
|
|
|
|
|
|
+ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
|
|
+OPENSC_DEPENDENCIES += openssl
|
|
|
+OPENSC_CONF_OPTS += --enable-openssl
|
|
|
+else
|
|
|
+OPENSC_CONF_OPTS += --disable-openssl
|
|
|
+endif
|
|
|
+
|
|
|
$(eval $(autotools-package))
|