diff options
| author | Robert Yang <liezhi.yang@windriver.com> | 2015-06-09 23:14:56 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-06-11 23:59:17 +0100 |
| commit | 4467c72bc8b03241905aed1d87be99ffd976165a (patch) | |
| tree | d344dcaa224c553aad215a10de1ddfbad66b6a7a | |
| parent | 041af823790f5052d2b43089e8f1a6f661afebf6 (diff) | |
| download | poky-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>
| -rw-r--r-- | meta/recipes-devtools/mtools/mtools_3.9.9.bb | 3 | ||||
| -rw-r--r-- | meta/recipes-devtools/mtools/mtools_4.0.18.bb | 3 |
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 | ||
| 47 | BBCLASSEXTEND = "native nativesdk" | 47 | BBCLASSEXTEND = "native nativesdk" |
| 48 | 48 | ||
| 49 | PACKAGECONFIG ??= "" | ||
| 50 | PACKAGECONFIG[libbsd] = "ac_cv_lib_bsd_main=yes,ac_cv_lib_bsd_main=no,libbsd" | ||
| 51 | |||
| 49 | do_install_prepend () { | 52 | do_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 | ||
| 38 | BBCLASSEXTEND = "native nativesdk" | 38 | BBCLASSEXTEND = "native nativesdk" |
| 39 | 39 | ||
| 40 | PACKAGECONFIG ??= "" | ||
| 41 | PACKAGECONFIG[libbsd] = "ac_cv_lib_bsd_main=yes,ac_cv_lib_bsd_main=no,libbsd" | ||
| 42 | |||
| 40 | do_install_prepend () { | 43 | do_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} |
