scons: Add SDL calls to SDL test program

This commit is contained in:
loonycyborg 2015-11-15 17:54:28 +03:00
parent 9bdf63097e
commit 627acb9b0b

View file

@ -74,6 +74,8 @@ def CheckSDL(context, sdl_lib = "SDL", require_version = None, header_file = Non
test_program += """
int main(int argc, char** argv)
{
SDL_Init(0);
SDL_Quit();
}
\n"""
if context.TryLink(test_program, ".c"):