diff options
| -rw-r--r-- | meta/recipes-core/gettext/gettext_0.16.1.bb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/meta/recipes-core/gettext/gettext_0.16.1.bb b/meta/recipes-core/gettext/gettext_0.16.1.bb index 5d26f3efdc..5725e7fe07 100644 --- a/meta/recipes-core/gettext/gettext_0.16.1.bb +++ b/meta/recipes-core/gettext/gettext_0.16.1.bb | |||
| @@ -95,4 +95,15 @@ do_install_append() { | |||
| 95 | rm -f ${D}${libdir}/preloadable_libintl.so | 95 | rm -f ${D}${libdir}/preloadable_libintl.so |
| 96 | } | 96 | } |
| 97 | 97 | ||
| 98 | # Anyone inheriting gettext will have both gettext-native and gettext | ||
| 99 | # available, and we don't want to use older macros from the target gettext in | ||
| 100 | # a non-gplv3 build, so kill them and let dependent recipes rely on | ||
| 101 | # gettext-native. | ||
| 102 | |||
| 103 | SYSROOT_PREPROCESS_FUNCS += "remove_sysroot_m4_macros" | ||
| 104 | |||
| 105 | remove_sysroot_m4_macros () { | ||
| 106 | rm -r "${SYSROOT_DESTDIR}${datadir}/aclocal" | ||
| 107 | } | ||
| 108 | |||
| 98 | BBCLASSEXTEND = "native nativesdk" | 109 | BBCLASSEXTEND = "native nativesdk" |
