Commit d3d3c0a8 authored by Michal Berger's avatar Michal Berger Committed by Tomasz Zawadzki
Browse files

configure: Fix SHARED check for isa-l*



Instead of checking the actual value we were just checking if
CONFIG["SHARED"] is set - it's always set as it does come with
a default (n). This was causing isa-l to be always built with
shared libraries.

Change-Id: I2a6047f0bb6de8ac00fa10bb86ffc9ff617011d4
Signed-off-by: default avatarMichal Berger <michal.berger@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/21768


Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: default avatarAleksey Marchuk <alexeymar@nvidia.com>
Community-CI: Mellanox Build Bot
Reviewed-by: default avatarJim Harris <jim.harris@samsung.com>
parent 7a186735
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1219,7 +1219,7 @@ if [[ "${CONFIG[ISAL]}" = "y" ]]; then
	else
		ISAL_OPTS=()
	fi
	if [[ -n "${CONFIG[SHARED]}" ]]; then
	if [[ "${CONFIG[SHARED]}" = "y" ]]; then
		ISAL_OPTS+=("--enable-shared=yes")
	else
		ISAL_OPTS+=("--enable-shared=no")
@@ -1252,7 +1252,7 @@ if [[ "${CONFIG[ISAL]}" = "y" ]]; then
	if [[ -n "${CONFIG[CROSS_PREFIX]}" ]]; then
		ISAL_CRYPTO_OPTS+=("--host=${CONFIG[CROSS_PREFIX]}")
	fi
	if [[ -n "${CONFIG[SHARED]}" ]]; then
	if [[ "${CONFIG[SHARED]}" = "y" ]]; then
		ISAL_CRYPTO_OPTS+=("--enable-shared=yes")
	else
		ISAL_CRYPTO_OPTS+=("--enable-shared=no")