summaryrefslogtreecommitdiffstats
path: root/dpdk
diff options
context:
space:
mode:
authorSergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>2017-08-14 09:26:44 +0100
committerDave Wallace <dwallacelf@gmail.com>2017-08-14 14:31:16 +0000
commit4aef5b78e71feb63ff883395c041edf48d8b516f (patch)
tree809fabf831f40edfbd73ee9818f5b87c07284280 /dpdk
parent3a079ce28204c986f16e99fbaaa685bdb3b7f752 (diff)
dpdk: force libdir for isa-l crypto library
Depending on the OS, the default libdir might change. RHEL/Ubuntu: libdir={exec_prefix}/lib OpenSUSE: libdir={exec_prefix}/lib64 Change-Id: I5f1672e5815ad821e6ac5fff95de5232ab735b67 Signed-off-by: Sergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>
Diffstat (limited to 'dpdk')
-rw-r--r--dpdk/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/dpdk/Makefile b/dpdk/Makefile
index cd70c8947ae..2f5049e5ee4 100644
--- a/dpdk/Makefile
+++ b/dpdk/Makefile
@@ -244,7 +244,8 @@ build-ipsec-mb:
build-isal-crypto:
mkdir -p $(I)/lib/
cd $(ISA_L_CRYPTO_LIB_SOURCE) && ./autogen.sh && \
- ./configure --prefix=$(ISA_L_CRYPTO_INSTALL_DIR) CFLAGS='-fPIC -DPIC -O2'
+ ./configure --prefix=$(ISA_L_CRYPTO_INSTALL_DIR) \
+ --libdir=$(ISA_L_CRYPTO_INSTALL_DIR)/lib CFLAGS='-fPIC -DPIC -O2'
make -C $(ISA_L_CRYPTO_LIB_SOURCE) -j install
cp $(ISA_L_CRYPTO_INSTALL_DIR)/lib/libisal_crypto.a $(I)/lib/