From b79a628d59382fdba812c67133c93e9f4ea365c2 Mon Sep 17 00:00:00 2001 From: Mark Hatle Date: Fri, 4 Mar 2016 13:02:50 -0600 Subject: 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 --- meta/recipes-devtools/rpm/rpmresolve_1.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() { -- cgit v1.2.3