mirror of
https://github.com/rkd77/elinks.git
synced 2025-04-18 00:47:36 -04:00
SpiderMonkey was updated to mozjs24. If you want to build elinks with ecmascript support, you must compile using g++ with -fpermissive . There is a lot of warnings. There are some memleaks in ecmascript code, especially related to JSAutoCompartment. I don't know yet, where and how to free it. Debian does not support mozjs24, so I'm going to gradually update SpiderMonkey version.
20 lines
464 B
Meson
20 lines
464 B
Meson
#INCLUDES += $(SPIDERMONKEY_CFLAGS)
|
|
if conf_data.get('CONFIG_ECMASCRIPT_SMJS')
|
|
subdir('spidermonkey')
|
|
srcs += files('spidermonkey.c')
|
|
endif
|
|
|
|
if conf_data.get('CONFIG_ECMASCRIPT_SMJS')
|
|
CONFIG_ANY_SPIDERMONKEY = true
|
|
elif conf_data.get('CONFIG_SCRIPTING_SPIDERMONKEY')
|
|
CONFIG_ANY_SPIDERMONKEY = true
|
|
else
|
|
CONFIG_ANY_SPIDERMONKEY = false
|
|
endif
|
|
|
|
if CONFIG_ANY_SPIDERMONKEY
|
|
srcs += files('spidermonkey-shared.c', 'empty.cpp')
|
|
endif
|
|
|
|
srcs += files('ecmascript.c')
|