diff options
author | Richard Levitte <levitte@openssl.org> | 2018-02-13 19:46:10 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2018-02-13 21:11:44 +0100 |
commit | 9b7e82f8d939ca6894f941268b219da55f069b26 (patch) | |
tree | c17bbda52fa228bdaf2c71805fbd05fcc69326b9 /Configure | |
parent | 19308587d4a4fd2886b0ca193ccfc6756d867cb1 (diff) |
Configure: if a file is generated, never assume it's in the source dir
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5355)
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1929,7 +1929,7 @@ EOF # If it isn't in the source tree, we assume it's generated # in the build tree - if (! -f $s) { + if (! -f $s || $generate{$_}) { $s = cleanfile($buildd, $_, $blddir); } # We recognise C++, C and asm files @@ -1957,7 +1957,7 @@ EOF # If it isn't in the source tree, we assume it's generated # in the build tree - if (! -f $s) { + if (! -f $s || $generate{$_}) { $s = cleanfile($buildd, $_, $blddir); } |