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 <[email protected]>
---
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
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core