You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
569 B

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