Skip to content

Commit

Permalink
Add USE_ZLIB flag to makem.js
Browse files Browse the repository at this point in the history
- fix issue in comment #397 (comment)
  • Loading branch information
kalwalt committed Oct 25, 2024
1 parent c3ed1fd commit bae3288
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/makem.js
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ let FLAGS = "" + OPTIMIZE_FLAGS;
FLAGS += " -Wno-warn-absolute-paths";
FLAGS += " -s TOTAL_MEMORY=" + MEM + " ";
FLAGS += " -s USE_LIBJPEG=1";
FLAGS += " -s USE_ZLIB=1";
FLAGS += ' -s EXPORTED_RUNTIME_METHODS=["FS"]';
FLAGS += " -s ALLOW_MEMORY_GROWTH=1";

Expand Down

0 comments on commit bae3288

Please sign in to comment.