Skip to content

Commit d164f25

Browse files
authored
Merge pull request #2653 from pygame-community/Setup-png-jpeg
support emsdk >3.1.51
2 parents 50cf814 + 24bb135 commit d164f25

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

buildconfig/Setup.Emscripten.SDL2.in

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
#SCRAP =
88
#FREETYPE = -lfreetype -lharfbuzz
99

10+
# png and jpeg are needed for decoders in SDL_image, when not using emscripten preload api because its async
11+
# which is the case for both pygbag or wasi (no browser, no emscripten js api emulation)
12+
PNG = -lpng
13+
JPEG = -ljpeg
1014
DEBUG =
1115

1216
# these can build alone and object files merged with ar

0 commit comments

Comments
 (0)