diff options
-rw-r--r-- | src/cmake/plugin.cmake | 2 | ||||
-rwxr-xr-x | src/pkg/debian/rules.in | 4 |
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 |