meson: fix hyphen support

there was a missing define for the search directory
This commit is contained in:
Marcel Hollerbach 2018-11-07 09:42:35 +01:00
parent face90632e
commit 21845a11dd
1 changed files with 6 additions and 1 deletions

View File

@ -132,7 +132,12 @@ endif
if (get_option('hyphen'))
config_h.set('HAVE_HYPHEN', '1')
evas_deps += dependency('hyphen')
hyphen = dependency('hyphen', required : false)
if hyphen.found() == false
evas_deps += cc.find_library('hyphen')
endif
evas_deps += hyphen
config_h.set_quoted('EVAS_DICTS_HYPHEN_DIR', '/usr/share/hyphen')
endif
subdir('include')