CMake: fix install lib and iOMA missing symbol 01/14501/1
authorNeale Ranns <nranns@cisco.com>
Mon, 27 Aug 2018 12:35:25 +0000 (08:35 -0400)
committerNeale Ranns <nranns@cisco.com>
Mon, 27 Aug 2018 12:35:25 +0000 (08:35 -0400)
Change-Id: I929a5c3779cb40c9fde64e88ebe5183a95faf6ff
Signed-off-by: Neale Ranns <nranns@cisco.com>
src/CMakeLists.txt
src/plugins/ioam/CMakeLists.txt

index 51f9f7e..ae71007 100644 (file)
@@ -33,7 +33,7 @@ set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} ${CMAKE_C_FLAGS_COMMON}")
 ##############################################################################
 # install config
 ##############################################################################
-set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib")
+set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/${VPP_LIB_DIR_NAME}")
 set(CMAKE_INSTALL_MESSAGE NEVER)
 
 message(STATUS "CMAKE_C_FLAGS: ${CMAKE_C_FLAGS}")
index b6d86eb..97381c5 100644 (file)
@@ -78,6 +78,7 @@ add_vpp_plugin(ioam
   ioam_test.c
   lib-pot/pot_test.c
   export/ioam_export_test.c
+  export-vxlan-gpe/vxlan_gpe_ioam_export_test.c
   lib-trace/trace_test.c
   lib-vxlan-gpe/vxlan_gpe_test.c
   udp-ping/udp_ping_test.c