--- a/meson.build +++ b/meson.build @@ -97,6 +97,10 @@ required: get_option('pam'), has_headers: 'security/pam_modules.h', ) +intl_dep = cc.find_library('intl', + required: get_option('pam'), + has_headers: 'libintl.h', +) pod2man = find_program('pod2man', required: get_option('man')) xsltproc = find_program('xsltproc', required: get_option('gtk_doc')) --- a/pam/meson.build +++ b/pam/meson.build @@ -16,6 +16,7 @@ dependencies: [ libsystemd_dep, pam_dep, + intl_dep, ], c_args: [ '-DLOCALEDIR="@0@"'.format(localedir),