diff options
| -rw-r--r-- | meta/recipes-support/libiconv/libiconv_1.14.bb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-support/libiconv/libiconv_1.14.bb b/meta/recipes-support/libiconv/libiconv_1.14.bb index b1d2612d09..470900bca7 100644 --- a/meta/recipes-support/libiconv/libiconv_1.14.bb +++ b/meta/recipes-support/libiconv/libiconv_1.14.bb | |||
| @@ -22,6 +22,8 @@ S = "${WORKDIR}/libiconv-${PV}" | |||
| 22 | inherit autotools pkgconfig gettext | 22 | inherit autotools pkgconfig gettext |
| 23 | 23 | ||
| 24 | python __anonymous() { | 24 | python __anonymous() { |
| 25 | if d.getVar("TARGET_OS", True) != "linux": | ||
| 26 | return | ||
| 25 | if d.getVar("TCLIBC", True) == "eglibc": | 27 | if d.getVar("TCLIBC", True) == "eglibc": |
| 26 | raise bb.parse.SkipPackage("libiconv is provided for use with uClibc only - eglibc already provides iconv") | 28 | raise bb.parse.SkipPackage("libiconv is provided for use with uClibc only - eglibc already provides iconv") |
| 27 | } | 29 | } |
| @@ -44,3 +46,5 @@ do_install_append () { | |||
| 44 | rm -rf ${D}${libdir}/preloadable_libiconv.so | 46 | rm -rf ${D}${libdir}/preloadable_libiconv.so |
| 45 | rm -rf ${D}${libdir}/charset.alias | 47 | rm -rf ${D}${libdir}/charset.alias |
| 46 | } | 48 | } |
| 49 | |||
| 50 | BBCLASSEXTEND = "nativesdk" | ||
