summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2019-01-22 09:11:50 +0100
committerNeale Ranns <nranns@cisco.com>2019-01-22 10:04:08 +0000
commit0655505c01c31ade8014528eaa2c2d52e4af1ea7 (patch)
treebb85892114ab4611b4edbd0e362210dc69bb9ec9 /src
parent7ec2fe2dad4cfa89e64c4f6f56322aa9e12b5e5e (diff)
cmake: don't set SONAME for plugins
Change-Id: I8cd782bb36a4c063afa312002192c254fd51bf5e Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src')
-rw-r--r--src/cmake/plugin.cmake2
-rwxr-xr-xsrc/pkg/debian/rules.in4
2 files changed, 2 insertions, 4 deletions
diff --git a/src/cmake/plugin.cmake b/src/cmake/plugin.cmake
index af3033f0cbd..47296ed451f 100644
--- a/src/cmake/plugin.cmake
+++ b/src/cmake/plugin.cmake
@@ -44,6 +44,7 @@ macro(add_vpp_plugin name)
)
endforeach()
add_library(${plugin_name} SHARED ${PLUGIN_SOURCES} ${api_includes})
+ set_target_properties(${plugin_name} PROPERTIES NO_SONAME 1)
target_compile_options(${plugin_name} PRIVATE -Wall)
if(NOT VPP_EXTERNAL_PROJECT)
add_dependencies(${plugin_name} vpp_version_h api_headers)
@@ -74,6 +75,7 @@ macro(add_vpp_plugin name)
set(test_plugin_name ${name}_test_plugin)
add_library(${test_plugin_name} SHARED ${PLUGIN_API_TEST_SOURCES}
${api_includes})
+ set_target_properties(${test_plugin_name} PROPERTIES NO_SONAME 1)
if(NOT VPP_EXTERNAL_PROJECT)
add_dependencies(${test_plugin_name} api_headers)
endif()
diff --git a/src/pkg/debian/rules.in b/src/pkg/debian/rules.in
index 4d2bb408116..373c66ecaee 100755
--- a/src/pkg/debian/rules.in
+++ b/src/pkg/debian/rules.in
@@ -17,10 +17,6 @@ export PYBUILD_SYSTEM=distutils
%:
dh $@ --with systemd,python2 --buildsystem=pybuild
-override_dh_shlibdeps:
- @dh_shlibdeps -X_plugin 2>&1 \
- | { grep -v -e "probably a plugin" || true; }
-
override_dh_strip:
dh_strip --dbg-package=vpp-dbg