diff options
author | Felix Fietkau <nbd@nbd.name> | 2021-02-12 11:36:47 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2021-02-14 19:41:52 +0100 |
commit | 2591c83b3406c16d3c1cd2dc7fa59c3c1b901d3c (patch) | |
tree | a4ef7981fa5db5b15bdcf937b4fb4239362f1b29 | |
parent | c92165038217e49075098479704da58a2a3a89bd (diff) | |
download | upstream-2591c83b3406c16d3c1cd2dc7fa59c3c1b901d3c.tar.gz upstream-2591c83b3406c16d3c1cd2dc7fa59c3c1b901d3c.tar.bz2 upstream-2591c83b3406c16d3c1cd2dc7fa59c3c1b901d3c.zip |
wolfssl: use dynamic ABI_VERSION depending on the configuration and package version
Signed-off-by: Felix Fietkau <nbd@nbd.name>
-rw-r--r-- | package/libs/wolfssl/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/package/libs/wolfssl/Makefile b/package/libs/wolfssl/Makefile index ff01fca663..51dc4d5a09 100644 --- a/package/libs/wolfssl/Makefile +++ b/package/libs/wolfssl/Makefile @@ -33,6 +33,8 @@ PKG_CONFIG_DEPENDS:=\ CONFIG_WOLFSSL_HAS_SESSION_TICKET CONFIG_WOLFSSL_HAS_TLSV10 \ CONFIG_WOLFSSL_HAS_TLSV13 CONFIG_WOLFSSL_HAS_WPAS CONFIG_WOLFSSL_HAS_CERTGEN +PKG_ABI_VERSION=$(patsubst %-stable,%,$(PKG_VERSION)).$(call version_abbrev,$(call confvar,$(PKG_CONFIG_DEPENDS))) + include $(INCLUDE_DIR)/package.mk define Package/libwolfssl @@ -44,7 +46,7 @@ define Package/libwolfssl MENU:=1 PROVIDES:=libcyassl DEPENDS:=+WOLFSSL_HAS_DEVCRYPTO:kmod-cryptodev +WOLFSSL_HAS_AFALG:kmod-crypto-user - ABI_VERSION:=24 + ABI_VERSION:=$(PKG_ABI_VERSION) endef define Package/libwolfssl/description |