[OE-core] [PATCH] recipe-devtools/rpm: Add PACKAGECONFIG for tomcrypt and disable by default
Aníbal Limón
anibal.limon at linux.intel.com
Wed Apr 20 14:41:15 UTC 2016
When try to build rpm-native if configure detects the ability of tomcrypt
library it suppose that tommath library is available causing a failure
on configure.
configure:54156: checking for magic_open in -lmagic
.... gcc compile long line trying to link to -ltommath ....
/usr/bin/ld: cannot find -ltommath
collect2: error: ld returned 1 exit status
Since tomcrypt is an optional feature add a PACKAGECONFIG for it and
disable by default.
Signed-off-by: Aníbal Limón <anibal.limon at linux.intel.com>
---
meta/recipes-devtools/rpm/rpm_5.4.16.bb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta/recipes-devtools/rpm/rpm_5.4.16.bb b/meta/recipes-devtools/rpm/rpm_5.4.16.bb
index cbdca88..b804213 100644
--- a/meta/recipes-devtools/rpm/rpm_5.4.16.bb
+++ b/meta/recipes-devtools/rpm/rpm_5.4.16.bb
@@ -302,6 +302,8 @@ PACKAGECONFIG[tcl] = "--with-tcl,--without-tcl,tcl,"
PACKAGECONFIG[augeas] = "--with-augeas,--without-augeas,augeas,"
+PACKAGECONFIG[tomcrypt] = "--with-tomcrypt=yes,--with-tomcrypt=no,,"
+
EXTRA_OECONF += "--verbose \
--sysconfdir=${sysconfdir} \
--with-file \
--
2.1.4
More information about the Openembedded-core
mailing list