build: do not link with libssl if not needed
In most cases we only need OpenSSL libcrypto (crypto primitives) but not libssl (tls). Type: improvement Change-Id: I9dce27d23d65bf46aea2d0f8aaf417240701efcc Signed-off-by: Benoît Ganne <bganne@cisco.com>
This commit is contained in:
Benoît Ganne
committed by
Dave Wallace
parent
9bc72ac8de
commit
f457f1fa02
@ -23,5 +23,5 @@ add_vpp_plugin(crypto_openssl
|
||||
main.c
|
||||
|
||||
LINK_LIBRARIES
|
||||
${OPENSSL_LIBRARIES}
|
||||
${OPENSSL_CRYPTO_LIBRARIES}
|
||||
)
|
||||
|
@ -156,7 +156,7 @@ add_vpp_plugin(dpdk
|
||||
${DPDK_LINK_LIBRARIES}
|
||||
|
||||
LINK_LIBRARIES
|
||||
${OPENSSL_LIBRARIES}
|
||||
${OPENSSL_CRYPTO_LIBRARIES}
|
||||
|
||||
COMPONENT
|
||||
vpp-plugin-dpdk
|
||||
|
@ -40,5 +40,5 @@ add_vpp_plugin(ikev2
|
||||
ikev2_priv.h
|
||||
|
||||
LINK_LIBRARIES
|
||||
${OPENSSL_LIBRARIES}
|
||||
${OPENSSL_CRYPTO_LIBRARIES}
|
||||
)
|
||||
|
@ -54,7 +54,7 @@ add_vpp_plugin(wireguard
|
||||
wireguard_index_table.h
|
||||
wireguard_api.c
|
||||
|
||||
LINK_LIBRARIES ${OPENSSL_LIBRARIES}
|
||||
LINK_LIBRARIES ${OPENSSL_CRYPTO_LIBRARIES}
|
||||
|
||||
API_FILES
|
||||
wireguard.api
|
||||
|
Reference in New Issue
Block a user