From: Tanzinul Islam Date: Mon, 16 Nov 2020 22:52:44 +0000 (+0000) Subject: Ensure at least one command if no dependencies X-Git-Tag: openssl-3.0.0-alpha15~58 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=830cd025b199fab165a378884fb5b4373799bde9;p=thirdparty%2Fopenssl.git Ensure at least one command if no dependencies C++Builder's `make.exe` complains if a target has no dependencies (e.g. after variable expansion) and no lines of commands. Ensure there is a blank command line if the dependency list is entirely made of variables. Reviewed-by: Richard Levitte Reviewed-by: Dmitry Belyavskiy (Merged from https://github.com/openssl/openssl/pull/13540) --- diff --git a/Configurations/windows-makefile.tmpl b/Configurations/windows-makefile.tmpl index 73ddcc8bd58..51b29515a73 100644 --- a/Configurations/windows-makefile.tmpl +++ b/Configurations/windows-makefile.tmpl @@ -388,11 +388,15 @@ PROCESSOR= {- $config{processor} -} build_docs: build_html_docs build_html_docs: $(HTMLDOCS1) $(HTMLDOCS3) $(HTMLDOCS5) $(HTMLDOCS7) - + @ build_generated: $(GENERATED_MANDATORY) + @ build_libs_nodep: $(LIBS) {- join(" ",map { platform->sharedlib_import($_) // () } @{$unified_info{libraries}}) -} + @ build_modules_nodep: $(MODULES) + @ build_programs_nodep: $(PROGRAMS) $(SCRIPTS) + @ # Kept around for backward compatibility build_apps build_tests: build_programs