Skip to content

Commit 6bee3c8

Browse files
committed
make: explicitly target worker environment
This is no longer implied in future emscripten versions.
1 parent 8d41bd1 commit 6bee3c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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
8+
GLOBAL_LDFLAGS:=-s ENVIRONMENT=web,webview,worker -s NO_EXIT_RUNTIME=1
99
export LDFLAGS = $(GLOBAL_LDFLAGS)
1010

1111
all: subtitleoctopus

0 commit comments

Comments
 (0)