From: Robert Yang Date: Wed, 10 Jun 2015 06:14:56 +0000 (-0700) Subject: mtools: add PACKAGECONFIG for libbsd X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~30090 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee2d22325ae2cba3aae314a170dc88d7108ee3c2;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git mtools: add PACKAGECONFIG for libbsd Fixed: ld: cannot find -lbsd collect2: error: ld returned 1 exit status Signed-off-by: Robert Yang --- diff --git a/meta/recipes-devtools/mtools/mtools_3.9.9.bb b/meta/recipes-devtools/mtools/mtools_3.9.9.bb index 9cd1c5726ce..c284a71b4e8 100644 --- a/meta/recipes-devtools/mtools/mtools_3.9.9.bb +++ b/meta/recipes-devtools/mtools/mtools_3.9.9.bb @@ -46,6 +46,9 @@ EXTRA_OECONF = "--without-x" BBCLASSEXTEND = "native nativesdk" +PACKAGECONFIG ??= "" +PACKAGECONFIG[libbsd] = "ac_cv_lib_bsd_main=yes,ac_cv_lib_bsd_main=no,libbsd" + do_install_prepend () { # Create bindir to fix parallel installation issues mkdir -p ${D}/${bindir} diff --git a/meta/recipes-devtools/mtools/mtools_4.0.18.bb b/meta/recipes-devtools/mtools/mtools_4.0.18.bb index b2cfe9ad9af..52decfdf63e 100644 --- a/meta/recipes-devtools/mtools/mtools_4.0.18.bb +++ b/meta/recipes-devtools/mtools/mtools_4.0.18.bb @@ -37,6 +37,9 @@ EXTRA_OECONF = "--without-x" BBCLASSEXTEND = "native nativesdk" +PACKAGECONFIG ??= "" +PACKAGECONFIG[libbsd] = "ac_cv_lib_bsd_main=yes,ac_cv_lib_bsd_main=no,libbsd" + do_install_prepend () { # Create bindir to fix parallel installation issues mkdir -p ${D}/${bindir}