mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2025-12-23 04:00:10 +00:00
26 lines
916 B
Diff
26 lines
916 B
Diff
# Always return true for libintl check.
|
|
|
|
--- a/mesonbuild/dependencies/misc.py
|
|
+++ b/mesonbuild/dependencies/misc.py
|
|
@@ -494,7 +494,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, env)[0]:
|
|
+ if True:
|
|
self.is_found = True
|
|
|
|
|
|
@@ -503,10 +503,7 @@
|
|
super().__init__(name, env, kwargs)
|
|
self.feature_since = ('0.59.0', "consider checking for `ngettext` with and without `find_library('intl')`")
|
|
|
|
- h = self.clib_compiler.has_header('libintl.h', '', env)
|
|
- self.link_args = self.clib_compiler.find_library('intl', env, [], self.libtype)
|
|
-
|
|
- if h[0] and self.link_args:
|
|
+ if True:
|
|
self.is_found = True
|
|
|
|
if self.static:
|