From 2625de0fe67ea578d3f05d4f0e458df03adbd1ca Mon Sep 17 00:00:00 2001 From: osm3000 Date: Tue, 2 Feb 2016 14:57:59 +0100 Subject: [PATCH] Updating the waf script to work with SDL2 library instead of SDL1.2 --- wscript | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wscript b/wscript index ad6bc0f..4cd2fed 100755 --- a/wscript +++ b/wscript @@ -12,11 +12,11 @@ import os, sys, commands def detect_sdl(conf): conf.start_msg('Checking for SDL') - ret = conf.find_program('sdl-config') + ret = conf.find_program('sdl2-config') if not ret: conf.end_msg('ERROR') return 0 - res = commands.getoutput('sdl-config --cflags --libs') + res = commands.getoutput('sdl2-config --cflags --libs') conf.parse_flags(res, uselib_store='SDL') conf.end_msg('ok') return 1