SDL_image: autotools: fix name of shared Windows libjxl dll

From 40684083bca865b786b97e025d768e54174bb99d Mon Sep 17 00:00:00 2001
From: Anonymous Maarten <[EMAIL REDACTED]>
Date: Sat, 9 Sep 2023 11:15:11 +0200
Subject: [PATCH] autotools: fix name of shared Windows libjxl dll

---
 configure    | 2 +-
 configure.ac | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure b/configure
index 550f3321..3ed51f38 100755
--- a/configure
+++ b/configure
@@ -14941,7 +14941,7 @@ fi
                 jxl_lib=`find_lib libjxl.dylib`
                 ;;
             *-*-cygwin* | *-*-mingw*)
-                jxl_lib=`find_lib "libjxl*.dll"`
+                jxl_lib=`find_lib "libjxl.dll"`
                 ;;
             *)
                 jxl_lib=`find_lib "libjxl[0-9]*.so.*"`
diff --git a/configure.ac b/configure.ac
index 021e2a70..72b3eee2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -438,7 +438,7 @@ if test x$enable_jxl = xyes; then
                 jxl_lib=[`find_lib libjxl.dylib`]
                 ;;
             *-*-cygwin* | *-*-mingw*)
-                jxl_lib=[`find_lib "libjxl*.dll"`]
+                jxl_lib=[`find_lib "libjxl.dll"`]
                 ;;
             *)
                 jxl_lib=[`find_lib "libjxl[0-9]*.so.*"`]