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.

15 lines
616 B

  1. --- a/meson.build
  2. +++ b/meson.build
  3. @@ -2045,8 +2045,11 @@ endif
  4. # proxy-libintl subproject.
  5. # FIXME: glib-gettext.m4 has much more checks to detect broken/uncompatible
  6. # implementations. This could be extended if issues are found in some platforms.
  7. +#
  8. +# 007-openwrt-libintl.patch: with BUILD_NLS=y use libintl-full, else use libc
  9. +#
  10. libintl_deps = []
  11. -if cc.has_function('ngettext', args : osx_ldflags)
  12. +if get_option('nls').disabled() and cc.has_function('ngettext', args : osx_ldflags)
  13. have_bind_textdomain_codeset = cc.has_function('bind_textdomain_codeset')
  14. else
  15. # First just find the bare library.