From 9c8516b63cec92a53f3064ce3acb6d672eeea7a1 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Wed, 13 Feb 2019 03:58:52 +0100 Subject: [PATCH] Add PADLOCK_ASM to dso_defines rather than lib_defines Since the padlock code is an engine, the assembler is for a module, not a library link to when building a program... there's a distinction. Fixes #2311 Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/8220) (cherry picked from commit 88780b1c5f6000fe6731fec74efe697bcf493b6c) --- Configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Configure b/Configure index aefd0ff15f..65aa11014d 100755 --- a/Configure +++ b/Configure @@ -1419,7 +1419,7 @@ unless ($disabled{asm}) { push @{$config{lib_defines}}, "X25519_ASM"; } if ($target{padlock_asm_src} ne $table{DEFAULTS}->{padlock_asm_src}) { - push @{$config{lib_defines}}, "PADLOCK_ASM"; + push @{$config{dso_defines}}, "PADLOCK_ASM"; } if ($target{poly1305_asm_src} ne "") { push @{$config{lib_defines}}, "POLY1305_ASM"; -- 2.34.1