From e25d052af1a4da9e2d2eadf53d966354a7bf17f0 Mon Sep 17 00:00:00 2001
From: Albert Graef <aggraef@gmail.com>
Date: Tue, 30 Mar 2021 05:27:28 +0200
Subject: [PATCH] mingw64: Remove libdl.dll from the package.

NOTE: We've already done this for the mingw32 package in rev. 807068ce, which
was prompted by a recent upgrade of the dlfcn package in msys2 which no longer
ships that dll.

However, it seems that the new dlfcn package also breaks Gem. At present,
no-one knows what the actual issue with Gem is. But for the time being we have
to downgrade the mingw-w64-i686-dlfcn package from 1.2.0-2 to 1.2.0-1 (which
is known to work with Gem), until a future update of msys2 fixes the issue,
or we figure out a way to work around it in Gem.
---
 packages/win64_inno/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/packages/win64_inno/Makefile b/packages/win64_inno/Makefile
index aa32645c4..0e51c032a 100644
--- a/packages/win64_inno/Makefile
+++ b/packages/win64_inno/Makefile
@@ -117,7 +117,7 @@ ifneq ($(LIGHT),yes)
 	# For other external libs
 	install -p $(bin_src)/lua*.dll          $(DESTDIR)$(bindir)/
 	#install -p $(bin_src)/pthreadGC2.dll     $(DESTDIR)$(bindir)/
-	install -p $(bin_src)/libdl.dll     $(DESTDIR)$(bindir)/
+	#install -p $(bin_src)/libdl.dll     $(DESTDIR)$(bindir)/
 	install -p $(bin_src)/libportaudio-2.dll     $(DESTDIR)$(bindir)/
 	install -p $(bin_src)/libFLAC-8.dll     $(DESTDIR)$(bindir)/
 	install -p $(bin_src)/libspeex-1.dll     $(DESTDIR)$(bindir)/
-- 
GitLab