p11-glue / p11-kit

Provides a way to load and enumerate PKCS#11 modules.
https://p11-glue.github.io/p11-glue/p11-kit.html
Other
150 stars 92 forks source link

Wrong minimum meson_version #569

Closed Jakuje closed 11 months ago

Jakuje commented 11 months ago

during build with meson 1.2.1 I get the following warning:

WARNING: Project specifies a minimum meson_version '>= 0.49' but uses features which were added in newer versions:
 * 0.59.0: {'dep 'intl' custom lookup'}

It looks like the minimum version should be bumped or the features from new meson should not be used.

ueno commented 11 months ago

0.59 might be too new according to repology, where Ubuntu 20.04 LTS is at 0.53.2 and CentOS Stream 8 is at 0.58.2.

ueno commented 11 months ago

After a closer look, this is caused by libintl = dependency('intl', required: false) intended for checking if libintl is available, but interpreted as a custom dependency. I guess we could rewrite it with libintl = cc.find_library('intl', required: false). That might require additional check on appleframeworks on macOS, as libintl (if it is from GNU gettext) might be using it for locale handling.