From: Norbert Pocs Date: Wed, 17 Dec 2025 20:04:53 +0000 (+0100) Subject: win-makefile.tmpl: Fix program install check X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca9827379a978a0ed0e21de3a029e80b63b63118;p=thirdparty%2Fopenssl.git win-makefile.tmpl: Fix program install check 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 Reviewed-by: Richard Levitte Reviewed-by: Nikola Pajkovsky Reviewed-by: Paul Dale Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/29427) --- diff --git a/Configurations/windows-makefile.tmpl b/Configurations/windows-makefile.tmpl index 498d33369cc..408b571d66e 100644 --- a/Configurations/windows-makefile.tmpl +++ b/Configurations/windows-makefile.tmpl @@ -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"