Skip to content

Commit bd49146

Browse files
jpcanoc3d
authored andcommitted
wasm: Embed config and help directories
In order to give the wasm application access to the help and configuration files, add the `--embed-file` arguments Authored-by: Jesus Cano <jcanovel@gmail.com> Signed-off-by: Christophe de Dinechin <christophe@dinechin.org> Reviewed-by: Christophe de Dinechin <christophe@dinechin.org>
1 parent bf90dff commit bd49146

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -453,8 +453,9 @@ LDFLAGS += -s MODULARIZE=0 \
453453
-s RESERVED_FUNCTION_POINTERS=20 \
454454
-s PTHREAD_POOL_SIZE=4 \
455455
--bind -pthread \
456-
-sASYNCIFY # Used to be able to sleep within a webassembly context
457-
456+
--embed-file config \
457+
--embed-file help \
458+
-sASYNCIFY # Used to be able to sleep within a webassembly conte
458459
#------------------------------------------------------------------------------
459460
else
460461
#------------------------------------------------------------------------------

0 commit comments

Comments
 (0)