From: Mark Hatle Date: Fri, 4 Mar 2016 19:02:50 +0000 (-0600) Subject: rpmresolve: It is not necessary to manually specify -lpopt X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~26631 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b79a628d59382fdba812c67133c93e9f4ea365c2;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git rpmresolve: It is not necessary to manually specify -lpopt Popt may be internal or external to rpm. Either way the rpm libraries will link properly with or without -lpopt. Signed-off-by: Mark Hatle --- diff --git a/meta/recipes-devtools/rpm/rpmresolve_1.0.bb b/meta/recipes-devtools/rpm/rpmresolve_1.0.bb index 04a55fd4803..0c13a67107a 100644 --- a/meta/recipes-devtools/rpm/rpmresolve_1.0.bb +++ b/meta/recipes-devtools/rpm/rpmresolve_1.0.bb @@ -11,7 +11,7 @@ SRC_URI = "file://rpmresolve.c" S = "${WORKDIR}" do_compile() { - ${CC} ${CFLAGS} -ggdb -I${STAGING_INCDIR}/rpm ${LDFLAGS} rpmresolve.c -o rpmresolve -lrpmbuild -lrpm -lrpmio -lrpmdb -lpopt + ${CC} ${CFLAGS} -ggdb -I${STAGING_INCDIR}/rpm ${LDFLAGS} rpmresolve.c -o rpmresolve -lrpmbuild -lrpm -lrpmio -lrpmdb } do_install() {