From a85f1d83706855d855e96cc9c1c47a4dbe4ea337 Mon Sep 17 00:00:00 2001 From: Simon Howard <fraggle@gmail.com> Date: Thu, 18 Feb 2016 05:01:49 +0000 Subject: [PATCH] Pass --disable-directx when building SDL2. Not sure what the practical upshot of this is yet, but it at least allows it to build successfully. I've been unable to get it to build with DirectX support enabled yet because the compiler complains about missing header definitions for LPDIRECTINPUTDEVICE8 and related functions. --- pkgdef/SDL2.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgdef/SDL2.sh b/pkgdef/SDL2.sh index 8f47198..76c90ab 100644 --- a/pkgdef/SDL2.sh +++ b/pkgdef/SDL2.sh @@ -11,5 +11,6 @@ fi # When targeting Windows, we need to install the directx headers first. if [ $(uname) = "Cygwin" ] || pattern_match "*mingw*" "$BUILD_HOST"; then DEPENDENCIES="directx-devel" + PACKAGE_CONFIGURE_OPTS=--disable-directx fi