summaryrefslogtreecommitdiff
path: root/support
diff options
context:
space:
mode:
author童宗振 <[email protected]>2023-12-29 06:03:08 +0000
committer陆秋文 <[email protected]>2023-12-29 06:03:08 +0000
commit834fdc017087f7f041e2f7ca825537b90791d52d (patch)
tree30db1c1891d01bca2213476f42c330298afbacb4 /support
parentbf85d39733c93f00c9c3540156ced32c34dbf837 (diff)
fix-compile-error
Diffstat (limited to 'support')
-rw-r--r--support/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/support/CMakeLists.txt b/support/CMakeLists.txt
index 3542b5d..6f3e9ae 100644
--- a/support/CMakeLists.txt
+++ b/support/CMakeLists.txt
@@ -145,8 +145,8 @@ ExternalProject_Add(dpdk PREFIX dpdk
BUILD_COMMAND ${CMAKE_COMMAND} -E chdir <SOURCE_DIR>/build ninja
INSTALL_COMMAND
COMMAND ${CMAKE_COMMAND} -E chdir <SOURCE_DIR>/build ninja install
- COMMAND ${CMAKE_COMMAND} -E chdir <SOURCE_DIR>/build rm -f <INSTALL_DIR>/lib64/libdpdk.a
- COMMAND ${CMAKE_COMMAND} -E chdir <INSTALL_DIR>/lib64 sh -c "ar crsT <INSTALL_DIR>/lib64/libdpdk.a <INSTALL_DIR>/lib64/*.a"
+ COMMAND ${CMAKE_COMMAND} -E chdir <INSTALL_DIR>/lib64 rm -f libdpdk.a
+ COMMAND ${CMAKE_COMMAND} -E chdir <INSTALL_DIR>/lib64 sh -c "ar crsT libdpdk.a ./*.a"
BUILD_IN_SOURCE 1)
ExternalProject_Get_Property(dpdk INSTALL_DIR)