From bb25fbf28c3a6cbe361db74d731d145e868fc716 Mon Sep 17 00:00:00 2001 From: Benoît Ganne Date: Tue, 30 Nov 2021 09:15:38 +0100 Subject: rdma: fix rdma-core install MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We should not install symlinks to local build directory. Type: fix Change-Id: I81e624dd5775ec9c5dd8c58f578ee51c5acfef73 Signed-off-by: Benoît Ganne (cherry picked from commit 521a9f8eb9d35d2d8783175b89821c6a157237ca) --- build/external/packages/rdma-core.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build/external/packages/rdma-core.mk b/build/external/packages/rdma-core.mk index b8092e4cb4d..a16824150b2 100644 --- a/build/external/packages/rdma-core.mk +++ b/build/external/packages/rdma-core.mk @@ -42,12 +42,12 @@ endef define rdma-core_install_cmds mkdir -p $(rdma-core_install_dir)/lib/pkgconfig - cp -av $(rdma-core_build_dir)/include $(rdma-core_install_dir) > $(rdma-core_install_log) - cp -v $(rdma-core_build_dir)/lib/pkgconfig/libibverbs.pc \ + cp -avL $(rdma-core_build_dir)/include $(rdma-core_install_dir) > $(rdma-core_install_log) + cp -avL $(rdma-core_build_dir)/lib/pkgconfig/libibverbs.pc \ $(rdma-core_build_dir)/lib/pkgconfig/libmlx5.pc \ $(rdma-core_build_dir)/lib/pkgconfig/libmlx4.pc \ $(rdma-core_install_dir)/lib/pkgconfig >> $(rdma-core_install_log) - cp -v $(rdma-core_build_dir)/lib/statics/libibverbs.a \ + cp -avL $(rdma-core_build_dir)/lib/statics/libibverbs.a \ $(rdma-core_build_dir)/lib/statics/libmlx5.a \ $(rdma-core_build_dir)/lib/statics/libmlx4.a \ $(rdma-core_build_dir)/util/librdma_util.a \ -- cgit 1.2.3-korg