recipe-devtools/rpm: Add PACKAGECONFIG for tomcrypt and disable by default
PATCH 1/1 recipe-devtools/rpm: Add PACKAGECONFIG for tomcrypt and disable by default
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(+)
meta/recipes-devtools/rpm/rpm_5.4.16.bb +2 -0
@@ -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 \
Signature · 1 line
2.1.4