Files
termux-packages/scripts/build/setup/meson-libintl.patch
termux-pacman-bot 89e427c9d0 Update repo
2026-01-05 19:38:11 +00:00

24 lines
915 B
Diff

# Always return true for libintl check.
diff -u -r ../meson-1.10.0/mesonbuild/dependencies/misc.py ./mesonbuild/dependencies/misc.py
--- ../meson-1.10.0/mesonbuild/dependencies/misc.py 2025-12-08 16:48:52.000000000 +0000
+++ ./mesonbuild/dependencies/misc.py 2026-01-05 10:35:47.446355609 +0000
@@ -434,7 +434,7 @@
self.feature_since = ('0.59.0', "consider checking for `ngettext` with and without `find_library('intl')`")
code = '''#include <libintl.h>\n\nint main() {\n gettext("Hello world");\n}'''
- if self.clib_compiler.links(code)[0]:
+ if True:
self.is_found = True
@@ -446,7 +446,7 @@
h = self.clib_compiler.has_header('libintl.h', '')
self.link_args = self.clib_compiler.find_library('intl', [], self.libtype)
- if h[0] and self.link_args:
+ if True:
self.is_found = True
if self.static: