]> git.feebdaed.xyz Git - 0xmirror/openssl.git/commitdiff
win-makefile.tmpl: Fix program install check
authorNorbert Pocs <norbertp@openssl.org>
Wed, 17 Dec 2025 20:04:53 +0000 (21:04 +0100)
committerTomas Mraz <tomas@openssl.org>
Fri, 19 Dec 2025 15:10:24 +0000 (16:10 +0100)
When the array is empty then copy.pl fails, because there is nothing to
copy. The empty check was done on a different variable.

Signed-off-by: Norbert Pocs <norbertp@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Nikola Pajkovsky <nikolap@openssl.org>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/29427)

Configurations/windows-makefile.tmpl

index 498d33369cc224ca6ba24da14346fced7c0dc4d2..408b571d66e34a18a6edba8ab961b02ff85dc8fb 100644 (file)
@@ -584,10 +584,10 @@ install_programs: install_runtime_libs build_inst_programs
        @if not "$(INSTALL_PROGRAMS)"=="" \
         "$(PERL)" "$(SRCDIR)\util\copy.pl" $(INSTALL_PROGRAMS) \
                                         "$(INSTALLTOP)\bin"
-       @if not "$(INSTALL_PROGRAMS)"=="" \
+       @if not "$(INSTALL_PROGRAMPDBS)"=="" \
         "$(PERL)" "$(SRCDIR)\util\copy.pl" $(INSTALL_PROGRAMPDBS) \
                                         "$(INSTALLTOP)\bin"
-       @if not "$(INSTALL_PROGRAMS)"=="" \
+       @if not "$(BIN_SCRIPTS)"=="" \
         "$(PERL)" "$(SRCDIR)\util\copy.pl" $(BIN_SCRIPTS) \
                                         "$(INSTALLTOP)\bin"