mirror of
https://github.com/rkd77/elinks.git
synced 2025-01-03 14:57:44 -05:00
[quickjs] Added to meson_options
This commit is contained in:
parent
e9b897f4a5
commit
d66fe4a8df
@ -89,6 +89,7 @@ conf_data.set('CONFIG_LIBEV', get_option('libev'))
|
||||
conf_data.set('CONFIG_LIBEVENT', get_option('libevent'))
|
||||
conf_data.set('CONFIG_X', get_option('x'))
|
||||
conf_data.set('CONFIG_XML', get_option('xml'))
|
||||
conf_data.set('CONFIG_QUICKJS', get_option('quickjs'))
|
||||
|
||||
if conf_data.get('CONFIG_SCRIPTING_SPIDERMONKEY') or conf_data.get('CONFIG_ECMASCRIPT_SMJS')
|
||||
conf_data.set('CONFIG_ECMASCRIPT', true)
|
||||
@ -318,6 +319,10 @@ if conf_data.get('CONFIG_FSP')
|
||||
endif
|
||||
|
||||
|
||||
if conf_data.get('CONFIG_QUICKJS')
|
||||
quickjsdeps = compiler.find_library('quickjs/libquickjs', static : true)
|
||||
deps += quickjsdeps
|
||||
endif
|
||||
|
||||
if compiler.has_header('sys/un.h')
|
||||
conf_data.set('CONFIG_INTERLINK', true)
|
||||
|
@ -63,3 +63,4 @@ option('x', type: 'boolean', value: false, description: 'use the X Window System
|
||||
option('xml', type: 'boolean', value: false, description: 'libxml++')
|
||||
option('gemini', type: 'boolean', value: false, description: 'gemini protocol support')
|
||||
option('gettext', type: 'boolean', value: false, description: 'use external gettext library')
|
||||
option('quickjs', type: 'boolean', value: false, description: 'use quickjs library')
|
||||
|
Loading…
Reference in New Issue
Block a user