You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
845 B
845 B
Updating Duktape
-
Fetch the latest release archive.
-
Extract it somewhere.
-
That extracts to a
duktape-[VERSION]
directory. -
We need to tell duktape about our
duk_custom.h
header:-
Change into the
duktape-[VERSION]
directory. -
Run the following command:
python2 tools/configure.py \ --output-directory /tmp/output \ --source-directory src-input \ --config-metadata config \ --fixup-line '#include "duk_custom.h"'
-
This generates a suitable set of duktape sources in
/tmp/output
-
-
Replace the
duktape.c
,duktape.h
andduk_config.h
files in the netsurf source tree (incontent/handlers/javascript/duktape
) with those generated in/tmp/output
.