]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
Fix to include exe files for windows compile.
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Tue, 30 Jan 2024 08:37:03 +0000 (09:37 +0100)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Tue, 30 Jan 2024 08:37:03 +0000 (09:37 +0100)
makewin.sh

index 78ce7478ad372d3e8bbc46aec50fd97c23401400..5ff0389592e67a94d9a294c04a87a422fff721d7 100755 (executable)
@@ -248,10 +248,12 @@ cp ../ldns/README .
 cp ../ldns/Changelog .
 info "copy static exe"
 for x in "$installplace"/bin/* ; do
-       cp "$x" "$(basename "$x").exe"
+       cp "$x" .
 done
 # but the shell script stays a script file
-mv ldns-config.exe ldns-config
+if test -f ldns-config.exe; then
+       mv ldns-config.exe ldns-config
+fi
 info "copy include"
 mkdir include
 mkdir include/ldns