Skip to content

Commit

Permalink
embuilder: add sdl2-mt
Browse files Browse the repository at this point in the history
  • Loading branch information
jakogut committed Mar 19, 2019
1 parent 1e5e191 commit 97b7193
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions embuilder.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@
'ogg',
'regal',
'sdl2',
'sdl2-mt',
'sdl2-gfx',
'sdl2-image',
'sdl2-image-png',
Expand Down Expand Up @@ -326,6 +327,8 @@ def is_flag(arg):
build_port('libpng', libname('libpng'), ['-s', 'USE_ZLIB=1', '-s', 'USE_LIBPNG=1'])
elif what == 'sdl2':
build_port('sdl2', libname('libSDL2'), ['-s', 'USE_SDL=2'])
elif what == 'sdl2-mt':
build_port('sdl2', libname('libSDL2-mt'), ['-s', 'USE_SDL=2', '-s', 'USE_PTHREADS=1'])
elif what == 'sdl2-gfx':
build_port('sdl2-gfx', libname('libSDL2_gfx'), ['-s', 'USE_SDL=2', '-s', 'USE_SDL_IMAGE=2', '-s', 'USE_SDL_GFX=2'])
elif what == 'sdl2-image':
Expand Down

0 comments on commit 97b7193

Please sign in to comment.