diff options
author | Wonki Kim <wonki_.kim@samsung.com> | 2019-01-10 12:07:39 +0000 |
---|---|---|
committer | Marcel Hollerbach <mail@marcel-hollerbach.de> | 2019-01-10 19:44:01 +0100 |
commit | 3376e7cbd275504dcf8350d5cf360a559a0684a9 (patch) | |
tree | e4f99493dfae6863614aec2a407f0a0dbb08bef5 | |
parent | 15620ecc7cfb3fdaca971c0d2406519e3ebd4769 (diff) | |
download | efl-3376e7cbd275504dcf8350d5cf360a559a0684a9.tar.gz |
meson: Add a option for hyphen dictionaries directory
this patch provides a way to config hyphen dictionaries dir on meson.
Differential Revision: https://phab.enlightenment.org/D7581
-rw-r--r-- | meson_options.txt | 6 | ||||
-rw-r--r-- | src/lib/evas/meson.build | 2 |
2 files changed, 7 insertions, 1 deletions
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') |