summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2022-02-06 23:12:59 (GMT)
committerAlexey Neyman <stilor@att.net>2022-02-11 08:47:51 (GMT)
commitc6ff1eca5b2d41bbfd085413fad4652524b726a8 (patch)
treef78d4924b08b2fd578a453474a4ccadd16ffafad /config
parenta59503c8722f25097d58a81838e57e9afcb66614 (diff)
Restrict *-uclibc,* canadians to gettext 0.20
Newer gettext is incompatible with uClibc-NG in cross-compilation, see the comment in the code. Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'config')
-rw-r--r--config/comp_libs/gettext.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/config/comp_libs/gettext.in b/config/comp_libs/gettext.in
index df7e336..85e4387 100644
--- a/config/comp_libs/gettext.in
+++ b/config/comp_libs/gettext.in
@@ -1 +1,11 @@
# gettext options
+
+config GETTEXT_INCOMPATIBLE_WITH_UCLIBC_NG
+ def_bool y
+ depends on GETTEXT_0_21_or_later
+
+if GETTEXT_INCOMPATIBLE_WITH_UCLIBC_NG
+comment "This version of gettext is not compatible with uClibc-NG. Select"
+comment "a different version if uClibc-NG is used on the target or (in a"
+comment "Canadian cross build) on the host."
+endif