From ddfd21a6784f533bdd04b7e0dd61a0f400eee96e Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Sun, 5 Sep 2021 05:37:20 +0300 Subject: [PATCH] configure: fix vulkan enablement for windows after commit 13ec545936cfd --- configure | 4 +++- configure.ac | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 98c0eb5c4..0ec712382 100755 --- a/configure +++ b/configure @@ -25191,6 +25191,9 @@ $as_echo "#define SDL_TIMER_UNIX 1" >>confdefs.h ac_default_prefix=$BUILD_PREFIX fi fi + if test x$enable_loadso = xyes; then + have_loadso=yes + fi CheckDeclarationAfterStatement CheckDummyVideo CheckDiskAudio @@ -25366,7 +25369,6 @@ $as_echo "#define SDL_TIMER_WINDOWS 1" >>confdefs.h $as_echo "#define SDL_LOADSO_WINDOWS 1" >>confdefs.h SOURCES="$SOURCES $srcdir/src/loadso/windows/*.c" - have_loadso=yes fi # Set up the system libraries we need if test -f /lib/w32api/libuuid.a; then diff --git a/configure.ac b/configure.ac index 3a13605b9..3d9b0e9e1 100644 --- a/configure.ac +++ b/configure.ac @@ -3799,6 +3799,9 @@ case "$host" in ac_default_prefix=$BUILD_PREFIX fi fi + if test x$enable_loadso = xyes; then + have_loadso=yes + fi CheckDeclarationAfterStatement CheckDummyVideo CheckDiskAudio @@ -3923,7 +3926,6 @@ case "$host" in if test x$enable_loadso = xyes; then AC_DEFINE(SDL_LOADSO_WINDOWS, 1, [ ]) SOURCES="$SOURCES $srcdir/src/loadso/windows/*.c" - have_loadso=yes fi # Set up the system libraries we need if test -f /lib/w32api/libuuid.a; then