From f066d6d4534227ff0e421cc0af13c1b02fc83ea1 Mon Sep 17 00:00:00 2001 From: "W.C.A. Wijngaards" Date: Mon, 16 Jun 2025 14:26:54 +0200 Subject: [PATCH] - Fix #1295: Windows 32-bit binaries download seems to be missing dll dependency. --- doc/Changelog | 2 ++ makedist.sh | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/doc/Changelog b/doc/Changelog index 2b7c7d578..a966c08ed 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,5 +1,7 @@ 16 June 2025: Wouter - Fix to check control-interface addresses in unbound-checkconf. + - Fix #1295: Windows 32-bit binaries download seems to be missing dll + dependency. 12 June 2025: Wouter - Fix header return value description for skip_pkt_rrs and diff --git a/makedist.sh b/makedist.sh index c1e19f6f1..dac4bc10a 100755 --- a/makedist.sh +++ b/makedist.sh @@ -539,6 +539,12 @@ if [ "$DOWIN" = "yes" ]; then if test -f "$sspdll"; then cp "$sspdll" libunbound/. fi + if test "$W64" = "no"; then + # This could be solved with -static -static-libgcc -static-libstdc++. + # The dependency on c++ is probably due to libexpat. But the copy + # of the dll should work too. It may be needed for the libunbound.dll. + cp /usr/i686-w64-mingw32/sys-root/mingw/bin/libgcc_s_dw2-1.dll libunbound/. + fi # zipfile zip -r ../$file LICENSE README.txt unbound.exe unbound-anchor.exe unbound-host.exe unbound-control.exe unbound-checkconf.exe unbound-service-install.exe unbound-service-remove.exe unbound-control-setup.cmd example.conf service.conf root.key unbound-website.url create_unbound_ad_servers.cmd warmup.cmd unbound_cache.cmd Changelog libunbound info "Testing $file" -- 2.47.3