forked from enlightenment/enlightenment
build: enable -lintl if we find it
otherwise translations are not working
This commit is contained in:
parent
8301597011
commit
e23ac1044b
|
@ -1,3 +1,5 @@
|
|||
dep_intl = []
|
||||
|
||||
if get_option('nls')
|
||||
i18n = import('i18n')
|
||||
i18n.gettext('enlightenment',
|
||||
|
@ -12,4 +14,5 @@ if get_option('nls')
|
|||
'--foreign-user'
|
||||
])
|
||||
config_h.set('HAVE_GETTEXT', '1')
|
||||
dep_intl = cc.find_library('intl', required : false)
|
||||
endif
|
||||
|
|
|
@ -31,7 +31,8 @@ deps_e = [
|
|||
dep_eio,
|
||||
dep_eldbus,
|
||||
dep_emotion,
|
||||
dep_elementary
|
||||
dep_elementary,
|
||||
dep_intl
|
||||
]
|
||||
|
||||
if config_h.has('HAVE_PAM') == true
|
||||
|
|
Loading…
Reference in New Issue