diff options
author | Dmitry V. Levin <ldv@strace.io> | 2024-10-27 15:00:00 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@strace.io> | 2024-10-27 15:00:00 +0000 |
commit | 900c9c82e0c703fee1f5c55fb4a0913a7fc95306 (patch) | |
tree | 25ace664370a0e794e98108523dee4e16a4505ff | |
parent | ea980d991196df67cdd56b3f65d210b73218d08a (diff) | |
download | pam-900c9c82e0c703fee1f5c55fb4a0913a7fc95306.tar.gz pam-900c9c82e0c703fee1f5c55fb4a0913a7fc95306.tar.bz2 pam-900c9c82e0c703fee1f5c55fb4a0913a7fc95306.zip |
meson: fix build with -Di18n=disabled
Resolves: https://github.com/linux-pam/linux-pam/issues/847
-rw-r--r-- | meson.build | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meson.build b/meson.build index 2be21282..e3d8cc2a 100644 --- a/meson.build +++ b/meson.build @@ -211,7 +211,9 @@ endif libdl = dependency('dl') -if not get_option('i18n').disabled() +if get_option('i18n').disabled() + libintl = null_dep +else libintl = dependency('intl', required: get_option('i18n')) if libintl.found() cdata.set('ENABLE_NLS', 1) |