summaryrefslogtreecommitdiffstats
path: root/crypto/des
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/des')
-rw-r--r--crypto/des/build.info5
1 files changed, 3 insertions, 2 deletions
diff --git a/crypto/des/build.info b/crypto/des/build.info
index 4284272cfa..5a13e4f9be 100644
--- a/crypto/des/build.info
+++ b/crypto/des/build.info
@@ -23,11 +23,12 @@ $ALL=$COMMON\
SOURCE[../../libcrypto]=$ALL $DESASM
SOURCE[../../providers/libfips.a]=$COMMON $DESASM
-SOURCE[../../providers/liblegacy.a]=$DESASM
+IF[{- !$disabled{module} && !$disabled{shared} -}]
+ SOURCE[../../providers/liblegacy.a]=$DESASM
+ENDIF
DEFINE[../../libcrypto]=$DESDEF
DEFINE[../../providers/libfips.a]=$DESDEF
-DEFINE[../../providers/liblegacy.a]=$DESDEF
# When all deprecated symbols are removed, libcrypto doesn't export the
# DES functions, so we must include them directly in liblegacy.a