Fix localization targets currently unable to find libintl as done in the enlightenment package

This commit is contained in:
maxerba 2021-12-05 12:02:51 +01:00
parent f1f92e6abb
commit 25f15ff99a
2 changed files with 3 additions and 4 deletions

View File

@ -118,9 +118,7 @@ subdir('data/sounds')
subdir('data/templates')
subdir('data/themes/default')
subdir('pc')
if have_nls == true
subdir('po')
endif
subdir('po')
install_data(
sources : 'README',

View File

@ -13,5 +13,6 @@ if get_option('nls')
'--from-code=UTF-8',
'--foreign-user'
])
config_h.set('ENABLE_NLS', '1')
config_h.set('HAVE_GETTEXT', '1')
dep_intl = cc.find_library('intl', required : false)
endif