build: do not link with libssl if not needed
[vpp.git] / src / plugins / dpdk / CMakeLists.txt
index a6dda26..48b1548 100644 (file)
@@ -156,7 +156,7 @@ add_vpp_plugin(dpdk
   ${DPDK_LINK_LIBRARIES}
 
   LINK_LIBRARIES
-  ${OPENSSL_LIBRARIES}
+  ${OPENSSL_CRYPTO_LIBRARIES}
 
   COMPONENT
   vpp-plugin-dpdk