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.

20 lines
846 B

  1. --- a/meson.build
  2. +++ b/meson.build
  3. @@ -2047,9 +2047,6 @@ 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', args : osx_ldflags)
  8. - have_bind_textdomain_codeset = cc.has_function('bind_textdomain_codeset')
  9. -else
  10. # First just find the bare library.
  11. libintl = cc.find_library('intl', required : false)
  12. # The bare library probably won't link without help if it's static.
  13. @@ -2081,7 +2078,6 @@ else
  14. have_bind_textdomain_codeset = cc.has_function('bind_textdomain_codeset', args : osx_ldflags,
  15. dependencies : libintl_deps)
  16. endif
  17. -endif
  18. glib_conf.set('HAVE_BIND_TEXTDOMAIN_CODESET', have_bind_textdomain_codeset)