Skip to content

Commit

Permalink
Define SMTC_MODULE for liblegacy.a to avoid multiple definition
Browse files Browse the repository at this point in the history
Fix compilation failure issue found in coverity CI.
Multiple definition of ossl_set_error_state and ossl_prov_is_running
when enable smtc, legacy and module, so SMTC shoud be defined for
liblegacy.a.
  • Loading branch information
dongbeiouba committed Dec 11, 2024
1 parent 403d4c0 commit 4fbc4c4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions providers/build.info
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,10 @@ IF[{- !$disabled{smtc} -}]
DEFINE[$LIBDEFAULT]=SMTC_MODULE
DEFINE[../libssl]=SMTC_MODULE

IF[{- $disabled{module} -}]
DEFINE[$LIBLEGACY]=SMTC_MODULE
ENDIF

{- use File::Spec::Functions;
our $ex_lib = $withargs{atf_slibce_lib} &&
(file_name_is_absolute($withargs{atf_slibce_lib}) ?
Expand Down

0 comments on commit 4fbc4c4

Please sign in to comment.