]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix #1295: Windows 32-bit binaries download seems to be missing dll
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Mon, 16 Jun 2025 12:26:54 +0000 (14:26 +0200)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Mon, 16 Jun 2025 12:26:54 +0000 (14:26 +0200)
  dependency.

doc/Changelog
makedist.sh

index 2b7c7d57888b9cd2c918bda0f9145d9ee99699ca..a966c08ed4a251ac9c5960cfe1d54719b3f3fb40 100644 (file)
@@ -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
index c1e19f6f1e4f3e5e54a92edcd66f1b3c612adef8..dac4bc10aa655ba6888c5f6105d4f4b4de7f0469 100755 (executable)
@@ -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"