summaryrefslogtreecommitdiff
path: root/pag
diff options
context:
space:
mode:
authorQiuwen Lu <[email protected]>2016-10-17 14:05:24 +0800
committerQiuwen Lu <[email protected]>2016-10-17 14:05:24 +0800
commita3571a3a75b30b37e24ad174dcf66da32e866c38 (patch)
treea49819a9512c3db04f0762ae8fa9bb8a9bc1401f /pag
parentb083b108958195dbe310042605af41d11054e202 (diff)
支持DPDK-16.04+以上的静态联编;完成Raw-Socket的发报文路径
Diffstat (limited to 'pag')
-rw-r--r--pag/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/pag/CMakeLists.txt b/pag/CMakeLists.txt
index 3777f0e..5911903 100644
--- a/pag/CMakeLists.txt
+++ b/pag/CMakeLists.txt
@@ -6,7 +6,7 @@ include_directories(${DPDK_INCLUDE_DIR})
add_definitions(${DPDK_C_PREDEFINED})
add_library(pag SHARED libpag.c)
-target_link_libraries(pag ${DPDK_LIBRARY} MESA_prof_load_static marsio)
+target_link_libraries(pag MESA_prof_load_static marsio core)
target_link_libraries(pag rt pthread dl core)
set_target_properties(pag PROPERTIES LINK_FLAGS "-Wl,--version-script=${CMAKE_CURRENT_LIST_DIR}/version.map")
target_include_directories(pag INTERFACE "${CMAKE_CURRENT_SOURCE_DIR}")