scons: Add SDL calls to SDL test program
This commit is contained in:
parent
9bdf63097e
commit
627acb9b0b
1 changed files with 2 additions and 0 deletions
|
@ -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"):
|
||||
|
|
Loading…
Add table
Reference in a new issue