aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>2017-08-14 09:26:44 +0100
committerSergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>2017-08-19 17:49:39 +0000
commit8e0fba96e180d08d0e8ca727a68d5c8bb188bb44 (patch)
tree787bb501631c86fc070cdd48c7b339a3ddbff949
parent2e16dbd95c2d73080090f54a235d71d9772d0bd3 (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>
-rw-r--r--dpdk/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/dpdk/Makefile b/dpdk/Makefile
index 81c80ea5f62..cb04a1275fa 100644
--- a/dpdk/Makefile
+++ b/dpdk/Makefile
@@ -237,7 +237,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/