diff --git a/meson_options.txt b/meson_options.txt index 563794e6a4..a359154836 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -335,3 +335,9 @@ option('windows-version', value : 'win7', description : 'When host_machine is windows, compile the efl with the specified version of Windows' ) + +option('dictionaries-hyphen-dir', + type : 'string', + value : '/usr/share/hyphen/', + description : 'Put the path to hyphen dictionaries directory' +) \ No newline at end of file diff --git a/src/lib/evas/meson.build b/src/lib/evas/meson.build index 10b6fcd920..1b306c363e 100644 --- a/src/lib/evas/meson.build +++ b/src/lib/evas/meson.build @@ -139,7 +139,7 @@ if (get_option('hyphen')) evas_deps += cc.find_library('hyphen') endif evas_deps += hyphen - config_h.set_quoted('EVAS_DICTS_HYPHEN_DIR', '/usr/share/hyphen') + config_h.set_quoted('EVAS_DICTS_HYPHEN_DIR', get_option('dictionaries-hyphen-dir')) endif subdir('include')