summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2015-06-09 23:14:56 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-06-11 23:59:17 +0100
commit4467c72bc8b03241905aed1d87be99ffd976165a (patch)
treed344dcaa224c553aad215a10de1ddfbad66b6a7a /meta
parent041af823790f5052d2b43089e8f1a6f661afebf6 (diff)
downloadpoky-4467c72bc8b03241905aed1d87be99ffd976165a.tar.gz
mtools: add PACKAGECONFIG for libbsd
Fixed: ld: cannot find -lbsd collect2: error: ld returned 1 exit status (From OE-Core rev: ee2d22325ae2cba3aae314a170dc88d7108ee3c2) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-devtools/mtools/mtools_3.9.9.bb3
-rw-r--r--meta/recipes-devtools/mtools/mtools_4.0.18.bb3
2 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-devtools/mtools/mtools_3.9.9.bb b/meta/recipes-devtools/mtools/mtools_3.9.9.bb
index 9cd1c5726c..c284a71b4e 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"
46 46
47BBCLASSEXTEND = "native nativesdk" 47BBCLASSEXTEND = "native nativesdk"
48 48
49PACKAGECONFIG ??= ""
50PACKAGECONFIG[libbsd] = "ac_cv_lib_bsd_main=yes,ac_cv_lib_bsd_main=no,libbsd"
51
49do_install_prepend () { 52do_install_prepend () {
50 # Create bindir to fix parallel installation issues 53 # Create bindir to fix parallel installation issues
51 mkdir -p ${D}/${bindir} 54 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 b2cfe9ad9a..52decfdf63 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"
37 37
38BBCLASSEXTEND = "native nativesdk" 38BBCLASSEXTEND = "native nativesdk"
39 39
40PACKAGECONFIG ??= ""
41PACKAGECONFIG[libbsd] = "ac_cv_lib_bsd_main=yes,ac_cv_lib_bsd_main=no,libbsd"
42
40do_install_prepend () { 43do_install_prepend () {
41 # Create bindir to fix parallel installation issues 44 # Create bindir to fix parallel installation issues
42 mkdir -p ${D}/${bindir} 45 mkdir -p ${D}/${bindir}