diff options
| author | Eli Schwartz <eschwartz@archlinux.org> | 2021-06-13 13:45:15 -0400 |
|---|---|---|
| committer | Eli Schwartz <eschwartz@archlinux.org> | 2021-06-17 13:22:25 -0400 |
| commit | 2c6ccfe4c40741ae1f15f073f7d7bc8c398a1648 (patch) | |
| tree | 9bdcb39277363de6d67c91ade68416618a4d556d /mesonbuild/dependencies/__init__.py | |
| parent | ad206037e321237bc664227764a5b3fe6243c554 (diff) | |
| download | meson-2c6ccfe4c40741ae1f15f073f7d7bc8c398a1648.tar.gz | |
intl custom dependency
Checking how to aquire the *gettext family of symbols portably is
annoyingly complex, and may come from the libc, or standalone.
builtin dependency:
This detects if libintl is unneeded, because the *gettext family of
symbols is available in the libc.
system dependency:
This detects if libintl is installed as separate software, linkable via
-lintl; unfortunately, GNU gettext does not ship pkg-config files for
it.
Fixes #3929
Diffstat (limited to 'mesonbuild/dependencies/__init__.py')
| -rw-r--r-- | mesonbuild/dependencies/__init__.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mesonbuild/dependencies/__init__.py b/mesonbuild/dependencies/__init__.py index 0dafae169..bd90c90e9 100644 --- a/mesonbuild/dependencies/__init__.py +++ b/mesonbuild/dependencies/__init__.py @@ -35,7 +35,7 @@ from .scalapack import scalapack_factory from .misc import ( BlocksDependency, OpenMPDependency, cups_factory, curses_factory, gpgme_factory, libgcrypt_factory, libwmf_factory, netcdf_factory, pcap_factory, python3_factory, - shaderc_factory, threads_factory, ThreadDependency, + shaderc_factory, threads_factory, ThreadDependency, intl_factory, ) from .platform import AppleFrameworks from .qt import qt4_factory, qt5_factory, qt6_factory @@ -252,6 +252,7 @@ packages.update({ 'libgcrypt': libgcrypt_factory, 'gpgme': gpgme_factory, 'shaderc': shaderc_factory, + 'intl': intl_factory, # From platform: 'appleframeworks': AppleFrameworks, |
