Building: Add necessary dependencies for linker scripts and .rc files
authorRichard Levitte <levitte@openssl.org>
Fri, 11 Jun 2021 15:22:44 +0000 (17:22 +0200)
committerRichard Levitte <levitte@openssl.org>
Fri, 11 Jun 2021 15:22:44 +0000 (17:22 +0200)
These files depend on the data from configdata.pm, so need a dependency
on that one to always be properly updated.  The same goes for .rc files.

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15717)

build.info

index 6c91e22309fc851c80d8aa58e964955e18b33138..a70d1671f240ade007afdec1b11256793f9d3f10 100644 (file)
@@ -77,11 +77,13 @@ IF[{- defined $target{shared_defflag} -}]
 
   GENERATE[libcrypto.ld]=util/libcrypto.num libcrypto
   GENERATE[libssl.ld]=util/libssl.num libssl
+  DEPEND[libcrypto.ld libssl.ld]=configdata.pm util/perl/OpenSSL/Ordinals.pm
 ENDIF
 
 IF[{- $config{target} =~ /^(?:Cygwin|mingw|VC-|BC-)/ -}]
   GENERATE[libcrypto.rc]=util/mkrc.pl libcrypto
   GENERATE[libssl.rc]=util/mkrc.pl libssl
+  DEPEND[libcrypto.rc libssl.rc]=configdata.pm
 
   SHARED_SOURCE[libcrypto]=libcrypto.rc
   SHARED_SOURCE[libssl]=libssl.rc