Skip to content

Commit

Permalink
[emscripten] additional mandary exports
Browse files Browse the repository at this point in the history
  • Loading branch information
ololoken committed Jan 6, 2025
1 parent 378dfde commit 7b13219
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dist/fheroes2-ems/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ fheroes2.js: $(notdir $(patsubst %.cpp, %.o, $(SOURCES))) $(DEPLIBS)
fheroes2.module.js: $(notdir $(patsubst %.cpp, %.o, $(SOURCES))) $(DEPLIBS)
$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS) \
-sMODULARIZE \
-sEXPORTED_RUNTIME_METHODS=FS,ENV \
-sEXPORTED_RUNTIME_METHODS=FS,ENV,noExitRuntime,addOnExit,run \
-sEXPORT_NAME=fheroes2

%.o: %.cpp
Expand Down

0 comments on commit 7b13219

Please sign in to comment.