Skip to content

Commit

Permalink
make: explicitly target worker environment
Browse files Browse the repository at this point in the history
This is no longer implied in future emscripten versions.
  • Loading branch information
TheOneric committed Apr 2, 2022
1 parent bfeb3ac commit 70bede7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ BASE_DIR:=$(dir $(realpath $(firstword $(MAKEFILE_LIST))))
DIST_DIR:=$(BASE_DIR)dist/libraries

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

all: subtitleoctopus
Expand Down

0 comments on commit 70bede7

Please sign in to comment.