Don't build dynamic engines unless configured "shared"
[openssl.git] / Configure
index 9b14579f5b95bdb21a8b07b5378938b9b19b9388..eeae03e2298f467b4b09583d845f924bb9e0ba7c 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -396,7 +396,8 @@ my @disable_cascades = (
     "dso"               => [ "dynamic-engine" ],
 
     # Without position independent code, there can be no shared libraries or DSOs
-    "pic"               => [ "shared", "dynamic-engine" ],
+    "pic"               => [ "shared" ],
+    "shared"            => [ "dynamic-engine" ],
     );
 
 # Avoid protocol support holes.  Also disable all versions below N, if version