mirror of
https://github.com/rkd77/elinks.git
synced 2025-02-02 15:09:23 -05:00
[meson] Generate fetch.h also for quickjs
This commit is contained in:
parent
2f6360ac49
commit
55a87a8fa8
@ -1,8 +1,11 @@
|
||||
#INCLUDES += $(SPIDERMONKEY_CFLAGS)
|
||||
|
||||
if conf_data.get('CONFIG_ECMASCRIPT_SMJS')
|
||||
if conf_data.get('CONFIG_ECMASCRIPT_SMJS') or conf_data.get('CONFIG_QUICKJS')
|
||||
xxd = find_program('xxd')
|
||||
run_command([xxd, '-i', 'fetch.js', 'fetch.h'])
|
||||
endif
|
||||
|
||||
if conf_data.get('CONFIG_ECMASCRIPT_SMJS')
|
||||
srcs += files('ecmascript.cpp', 'ecmascript-c.cpp', 'localstorage-db.c', 'spidermonkey.cpp', 'timer.c')
|
||||
subdir('spidermonkey')
|
||||
endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user