diff options
| author | Ray <[email protected]> | 2022-10-20 20:07:29 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2022-10-20 20:07:29 +0200 |
| commit | d9f434afb9d1b2eb761a7f79125895d97ab02839 (patch) | |
| tree | f9dc467b80aabd659a8f1f6ced3c55723c9b0d5f /examples/Makefile.Web | |
| parent | 40cf84e7e527aab27ae01861c887a0498949a328 (diff) | |
| download | raylib-d9f434afb9d1b2eb761a7f79125895d97ab02839.tar.gz raylib-d9f434afb9d1b2eb761a7f79125895d97ab02839.zip | |
Added `-s EXPORTED_RUNTIME_METHODS=ccall` to examples web build #2739
Diffstat (limited to 'examples/Makefile.Web')
| -rw-r--r-- | examples/Makefile.Web | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/Makefile.Web b/examples/Makefile.Web index d2dc0d5c..3a83b7bb 100644 --- a/examples/Makefile.Web +++ b/examples/Makefile.Web @@ -283,7 +283,7 @@ ifeq ($(PLATFORM),PLATFORM_WEB) # --memory-init-file 0 # to avoid an external memory initialization code file (.mem) # --preload-file resources # specify a resources folder for data compilation # --source-map-base # allow debugging in browser with source map - LDFLAGS += -s USE_GLFW=3 -s ASYNCIFY + LDFLAGS += -s USE_GLFW=3 -s ASYNCIFY -s EXPORTED_RUNTIME_METHODS=ccall # NOTE: Simple raylib examples are compiled to be interpreter with asyncify, that way, # we can compile same code for ALL platforms with no change required, but, working on bigger |
