1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-09-19 01:36:33 -04:00

[meson] Generate fetch.h also for quickjs

This commit is contained in:
Witold Filipczyk 2024-07-07 21:23:06 +02:00
parent 2f6360ac49
commit 55a87a8fa8

View File

@ -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