cmake: don't set SONAME for plugins 51/16951/2
authorDamjan Marion <damarion@cisco.com>
Tue, 22 Jan 2019 08:11:50 +0000 (09:11 +0100)
committerNeale Ranns <nranns@cisco.com>
Tue, 22 Jan 2019 10:04:08 +0000 (10:04 +0000)
Change-Id: I8cd782bb36a4c063afa312002192c254fd51bf5e
Signed-off-by: Damjan Marion <damarion@cisco.com>
src/cmake/plugin.cmake
src/pkg/debian/rules.in

index af3033f..47296ed 100644 (file)
@@ -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()
index 4d2bb40..373c66e 100755 (executable)
@@ -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