vcpkg/ports/glib/libintl.patch

17 lines
656 B
Diff

diff --git a/meson.build b/meson.build
index 5677fa8..6407c64 100644
--- a/meson.build
+++ b/meson.build
@@ -2307,8 +2307,9 @@ endif
# implementations. This could be extended if issues are found in some platforms.
libintl_deps = []
libintl_prefix = '#include <libintl.h>'
-libintl = dependency('intl', required: false)
-if libintl.found() and libintl.type_name() != 'internal'
+libintl = dependency('intl', required : true)
+libintl_deps = [libintl]
+if false
# libintl supports different threading APIs, which may not
# require additional flags, but it defaults to using pthreads if
# found. Meson's "threads" dependency does not allow you to