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.

Cherry-picked from: libass@6bee3c8
  • Loading branch information
TheOneric authored and dmitrylyzo committed Oct 16, 2022
1 parent 91c0a69 commit 1986267
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
GLOBAL_LDFLAGS:=-s ENVIRONMENT=web,webview,worker -s NO_EXIT_RUNTIME=1
export LDFLAGS = $(GLOBAL_LDFLAGS)

all: subtitleoctopus
Expand Down

0 comments on commit 1986267

Please sign in to comment.