Skip to content

Commit

Permalink
[emscripten] export all js bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
ololoken committed Jan 6, 2025
1 parent 230de3e commit 2459cba
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,noExitRuntime,addOnExit,run,callMain \
-sEXPORT_ALL \
-sEXPORT_NAME=fheroes2

%.o: %.cpp
Expand Down

0 comments on commit 2459cba

Please sign in to comment.