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: 2016-4~521 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=b79a628d59382fdba812c67133c93e9f4ea365c2;p=openembedded-core.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 04a55fd480..0c13a67107 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() {