Skip to content

Commit 70bede7

Browse files
committed
make: explicitly target worker environment
This is no longer implied in future emscripten versions.
1 parent bfeb3ac commit 70bede7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ BASE_DIR:=$(dir $(realpath $(firstword $(MAKEFILE_LIST))))
55
DIST_DIR:=$(BASE_DIR)dist/libraries
66

77
GLOBAL_CFLAGS:=-O3
8-
GLOBAL_LDFLAGS:=-s ENVIRONMENT=web,webview -s NO_EXIT_RUNTIME=1 -s MODULARIZE=1
8+
GLOBAL_LDFLAGS:=-s ENVIRONMENT=web,webview,worker -s NO_EXIT_RUNTIME=1 -s MODULARIZE=1
99
export LDFLAGS = $(GLOBAL_LDFLAGS)
1010

1111
all: subtitleoctopus

0 commit comments

Comments
 (0)