[Buildroot] [PATCH] rpm: Fix automagic dependency on openssl

Markos Chandras markos.chandras at imgtec.com
Tue Apr 3 08:35:28 UTC 2012


Signed-off-by: Markos Chandras <markos.chandras at imgtec.com>
---
 package/rpm/rpm.mk |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/package/rpm/rpm.mk b/package/rpm/rpm.mk
index 9f42ee1..47c2ee9 100644
--- a/package/rpm/rpm.mk
+++ b/package/rpm/rpm.mk
@@ -17,6 +17,13 @@ RPM_CONF_OPT = --disable-build-versionscript --disable-rpath \
 	--with-libbeecrypt=$(STAGING_DIR) \
 	--with-popt=$(STAGING_DIR)
 
+ifeq ($(BR2_PACKAGE_OPENSSL),y)
+RPM_DEPENDENCIES += openssl
+RPM_CONF_OPT += --with-openssl=external
+else
+RPM_CONF_OPT += --with-openssl=no
+endif
+
 ifeq ($(BR2_PACKAGE_PCRE),y)
 RPM_DEPENDENCIES += pcre
 RPM_CONF_OPT += --with-pcre=external
-- 
1.7.1




More information about the buildroot mailing list