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:56:29 +0100 |
commit | ee2d22325ae2cba3aae314a170dc88d7108ee3c2 (patch) | |
tree | cf81e547e24649205b4617c798e4c42df42b261a /meta | |
parent | c925847dea7b0480c901e94b6a071a18f5e00d45 (diff) | |
download | openembedded-core-ee2d22325ae2cba3aae314a170dc88d7108ee3c2.tar.gz openembedded-core-ee2d22325ae2cba3aae314a170dc88d7108ee3c2.tar.bz2 openembedded-core-ee2d22325ae2cba3aae314a170dc88d7108ee3c2.zip |
mtools: add PACKAGECONFIG for libbsd
Fixed:
ld: cannot find -lbsd
collect2: error: ld returned 1 exit status
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Diffstat (limited to 'meta')
-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" 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 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" 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} |