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.
This commit is contained in:
Simon Howard 2016-02-18 05:01:49 +00:00
parent 5205c53036
commit a85f1d8370

View file

@ -11,5 +11,6 @@ fi
# When targeting Windows, we need to install the directx headers first. # When targeting Windows, we need to install the directx headers first.
if [ $(uname) = "Cygwin" ] || pattern_match "*mingw*" "$BUILD_HOST"; then if [ $(uname) = "Cygwin" ] || pattern_match "*mingw*" "$BUILD_HOST"; then
DEPENDENCIES="directx-devel" DEPENDENCIES="directx-devel"
PACKAGE_CONFIGURE_OPTS=--disable-directx
fi fi