Commit b9189104 authored by Richard Levitte's avatar Richard Levitte
Browse files

Configure: if a file is generated, never assume it's in the source dir



Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5355)

(cherry picked from commit 9b7e82f8)
parent a2019575
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1757,7 +1757,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 and asm files
@@ -1783,7 +1783,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 and asm files