build: enable -lintl if we find it

otherwise translations are not working
devs/bu5hm4n/bsd_build_fix
Marcel Hollerbach 5 years ago
parent f3515ebb0f
commit 45aeda7843
  1. 3
      po/meson.build
  2. 3
      src/bin/meson.build

@ -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…
Cancel
Save