Enhance and update the docs of the internal ossl_provider API
[openssl.git] / Configurations / shared-info.pl
index 3df12a321bb6901acf02d37c3b4ac113dce7162e..f9420785f245a54e66854efc1bcc8b8d5bb5d8d8 100644 (file)
@@ -32,6 +32,11 @@ my %shared_info;
         return {
             %{$shared_info{'gnu-shared'}},
             shared_defflag    => '-Wl,--version-script=',
+            dso_ldflags       =>
+                (grep /(?:^|\s)-fsanitize/,
+                 @{$config{CFLAGS}}, @{$config{cflags}})
+                ? ''
+                : '-z defs',
         };
     },
     'bsd-gcc-shared' => sub { return $shared_info{'linux-shared'}; },