|
--- a/meson.build
|
|
+++ b/meson.build
|
|
@@ -1986,8 +1986,8 @@ endif
|
|
# FIXME: glib-gettext.m4 has much more checks to detect broken/uncompatible
|
|
# implementations. This could be extended if issues are found in some platforms.
|
|
libintl_deps = []
|
|
-if cc.has_function('ngettext')
|
|
- have_bind_textdomain_codeset = cc.has_function('bind_textdomain_codeset')
|
|
+if true
|
|
+ have_bind_textdomain_codeset = cc.has_function('bind_textdomain_codeset', prefix :'#include <libintl.h>')
|
|
else
|
|
# First just find the bare library.
|
|
libintl = cc.find_library('intl', required : false)
|