diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-05-06 16:10:45 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-05-06 16:10:45 -0700 |
commit | b08947097b061a1b6dc2682c1beace03942d86fd (patch) | |
tree | d9ffd5256449eecab102e769c0dfec96e7940625 | |
parent | be0fb5cc46392c203c5c7885efdfe4f0cd579751 (diff) |
fix sdl inclusion
-rwxr-xr-x | emcc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1333,7 +1333,7 @@ try: return build_libcxx(os.path.join('system', 'lib'), 'sdl.bc', ['sdl.cpp']) def apply_sdl(need): - return 'malloc' not in all_needed or 'free' not in all_needed + return 'SDL_Init' in all_needed and ('malloc' not in all_needed or 'free' not in all_needed) # Settings this in the environment will avoid checking dependencies and make building big projects a little faster force = os.environ.get('EMCC_FORCE_STDLIBS') |