forked from enlightenment/efl
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
This commit is contained in:
parent
15620ecc7c
commit
3376e7cbd2
|
@ -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'
|
||||
)
|
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue