aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordrenfong.wang <drenfong.wang@intel.com>2019-02-28 02:15:10 +0000
committerdrenfong.wang <drenfong.wang@intel.com>2019-02-28 02:19:24 +0000
commit6927b503b160cc309884deacf544e45fda9d5b8f (patch)
tree3fb5acaeaef41089952aad56e745acf7d63a7456
parent06ca5af1c5efca1d14307c5f868ac7401d41cb2e (diff)
fix rpm package plugins cannot loadstable/1901
Change-Id: Id5f488ce575491023d2f38b6799ee562b8188259 Signed-off-by: drenfong.wang <drenfong.wang@intel.com>
-rw-r--r--README.md2
-rw-r--r--src/plugins/CMakeLists.txt4
2 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index 69d907e..de45d3a 100644
--- a/README.md
+++ b/README.md
@@ -32,7 +32,7 @@ Firstly, please follow below steps to install dependencies and build code:
make install-dep-extra
make install-vpp
make build-scvpp
- make build
+ make build-plugins
Then, please start each daemon one by one:
start vpp (for example on Ubuntu: systemctl start vpp)
diff --git a/src/plugins/CMakeLists.txt b/src/plugins/CMakeLists.txt
index 08003f7..a412d0b 100644
--- a/src/plugins/CMakeLists.txt
+++ b/src/plugins/CMakeLists.txt
@@ -49,7 +49,7 @@ set(BAPI_SRC
)
add_library(bapi SHARED ${BAPI_SRC})
target_include_directories(bapi PUBLIC ${VPP_INCLUDE_DIRS} ./bapi)
-target_link_libraries(bapi ${VPP_LIBRARIES})
+target_link_libraries(bapi ${SCVPP_LIBRARIES})
# plugins sources
set(PLUGINS_SOURCES
@@ -64,7 +64,7 @@ set(PLUGINS_SOURCES
# build the source code into shared library
add_library(vpp-plugins SHARED ${PLUGINS_SOURCES})
-target_link_libraries(vpp-plugins ${SYSREPO_LIBRARIES} ${SCVPP_LIBRARIES} bapi)
+target_link_libraries(vpp-plugins bapi)
# install the plugin into plugins dir
install(TARGETS vpp-plugins DESTINATION ${SR_PLUGINS_DIR})