aboutsummaryrefslogtreecommitdiff
path: root/ports/glib/fix-libintl-detection.patch
blob: 0ee0063b4c46dea02f26b304d2e63c0f67f3e575 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/meson.build b/meson.build
--- a/meson.build
+++ b/meson.build
@@ -2029,6 +2029,9 @@ else
        libintl = disabler()
      endif
   endif
+  if not libintl.found()
+    libintl = dependency('Intl', required : false, method : 'cmake')
+  endif
   if not libintl.found()
     libintl = subproject('proxy-libintl').get_variable('intl_dep')
     libintl_deps = [libintl] + libintl_deps