]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Add VERSIONINFO resource to legacy provider if it is not builtin
authorslontis <shane.lontis@oracle.com>
Tue, 31 May 2022 23:28:55 +0000 (09:28 +1000)
committerTodd Short <todd.short@me.com>
Thu, 2 Jun 2022 15:09:10 +0000 (11:09 -0400)
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Todd Short <todd.short@me.com>
(Merged from https://github.com/openssl/openssl/pull/18416)

providers/build.info

index f2e2f5a6a068970cd7ff114373f38ef9eda87686..3b211bbb2fe74fd1dcabf8cde6c7feb6b1d793af 100644 (file)
@@ -152,6 +152,13 @@ IF[{- !$disabled{legacy} -}]
       SOURCE[legacy]=legacy.ld
       GENERATE[legacy.ld]=../util/providers.num
     ENDIF
+
+    # Add VERSIONINFO resource for windows
+    IF[{- $config{target} =~ /^(?:Cygwin|mingw|VC-|BC-)/ -}]
+      GENERATE[legacy.rc]=../util/mkrc.pl legacy
+      SOURCE[$LEGACYGOAL]=legacy.rc
+    ENDIF
+
     SOURCE[$LIBLEGACY]=prov_running.c
   ENDIF