aboutsummaryrefslogtreecommitdiffstats
path: root/main/glib/musl-libintl.patch
blob: d54bd3fa43d2cbdb31b375cd1d1d103f1aff6d07 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
diff --git a/meson.build b/meson.build
index 8320449..1d05edd 100644
--- a/meson.build
+++ b/meson.build
@@ -1785,10 +1785,10 @@ endif
 # proxy-libintl subproject.
 # FIXME: glib-gettext.m4 has much more checks to detect broken/uncompatible
 # implementations. This could be extended if issues are found in some platforms.
-if cc.has_function('ngettext')
-  libintl = []
-  have_bind_textdomain_codeset = cc.has_function('bind_textdomain_codeset')
-else
+#if cc.has_function('ngettext')
+#  libintl = []
+#  have_bind_textdomain_codeset = cc.has_function('bind_textdomain_codeset')
+#else
   libintl = cc.find_library('intl', required : false)
   if not libintl.found()
     libintl = subproject('proxy-libintl').get_variable('intl_dep')
@@ -1797,7 +1797,7 @@ else
     have_bind_textdomain_codeset = cc.has_function('bind_textdomain_codeset',
                                                    dependencies : libintl)
   endif
-endif
+#endif
 
 glib_conf.set('HAVE_BIND_TEXTDOMAIN_CODESET', have_bind_textdomain_codeset)