Configure: add missing dependency to fix parallel builds on Windows
authorDr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
Fri, 20 Sep 2019 22:01:04 +0000 (00:01 +0200)
committerDr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
Sat, 21 Sep 2019 09:35:02 +0000 (11:35 +0200)
commit387bbce45bfe9c0bccbd2c84206ca7719d463740
tree07a7b98cfbfd2ad786e43f6796dc724a2b84be4c
parenta6105ef40d65b35818f2b8ae8ca9e57ca6956d1d
Configure: add missing dependency to fix parallel builds on Windows

The issue was encountered when testing parallel builds of OpenSSL on
Windows using `jom` instead of `nmake`. The builds persistently failed
with the following error message because the generated file "buildinf.h"
did not exist yet.

crypto\info.c(15): fatal error C1083:
    cannot open include file: "buildinf.h": No such file or directory

Apparently this error does not occur on Linux because `make` parallelizes
the builds differently such that `crypto\cversion.c`, which has an
explicit dependency on `buildinf.h`, gets compiled first. Also, the
include dependency was added only recently in commit 096978f0990.

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/9960)
crypto/build.info