Avoid duplicating symbols in legacy.a with some build options
[openssl.git] / crypto / idea / build.info
index 5441351b9cd76ae44db246604783a9f19b0eee88..7ac120918b911715af5c6450da82dde0ee04d242 100644 (file)
@@ -5,6 +5,6 @@ SOURCE[../../libcrypto]=$ALL
 
 # When all deprecated symbols are removed, libcrypto doesn't export the
 # idea functions, so we must include them directly in liblegacy.a
-IF[{- $disabled{'deprecated-3.0'} -}]
+IF[{- $disabled{'deprecated-3.0'} && !$disabled{module} && !$disabled{shared} -}]
   SOURCE[../../providers/liblegacy.a]=$ALL
 ENDIF