From 21845a11ddcac36152baed72595f26b5fdb83bde Mon Sep 17 00:00:00 2001 From: Marcel Hollerbach Date: Wed, 7 Nov 2018 09:42:35 +0100 Subject: [PATCH] meson: fix hyphen support there was a missing define for the search directory --- src/lib/evas/meson.build | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/lib/evas/meson.build b/src/lib/evas/meson.build index 2316359cc1..0dfc02c848 100644 --- a/src/lib/evas/meson.build +++ b/src/lib/evas/meson.build @@ -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')