gluon/patches/openwrt/0020-opkg-work-around-unconditional-libopenssl-build-dependency.patch

23 lines
786 B
Diff
Raw Normal View History

2015-08-28 08:48:23 +00:00
From: Matthias Schiffer <mschiffer@universe-factory.net>
Date: Fri, 28 Aug 2015 10:43:55 +0200
Subject: opkg: work around unconditional libopenssl build dependency
As the OpenWrt build system only resolves build dependencies per directory,
all opkg variants were causing libopenssl to be downloaded and built,
not only opkg-smime. Fix this by applying the same workaround as in
ustream-ssl.
diff --git a/package/system/opkg/Makefile b/package/system/opkg/Makefile
2015-10-26 18:02:12 +00:00
index 76688f5..3e39cf8 100644
2015-08-28 08:48:23 +00:00
--- a/package/system/opkg/Makefile
+++ b/package/system/opkg/Makefile
@@ -72,7 +72,7 @@ endef
2015-08-28 08:48:23 +00:00
define Package/opkg-smime
$(call Package/opkg/Default)
TITLE+= (with S/MIME signature support)
- DEPENDS+=+libopenssl
+ DEPENDS+=+PACKAGE_opkg-smime:libopenssl
VARIANT:=smime
endef