mirror of
https://github.com/linux-pam/linux-pam.git
synced 2024-11-27 03:33:39 +08:00
meson: fix build with -Di18n=disabled
Resolves: https://github.com/linux-pam/linux-pam/issues/847
This commit is contained in:
parent
ea980d9911
commit
900c9c82e0
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user