When packaging for piglit for debian, I see this type of message:
dpkg-shlibdeps: warning: Can't extract name and version from library name 
libpiglitutil.so

It it repeated several times for each piglit executable causing a
significant delay in the build time. Setting a soname version for
these internal libraries causes this message to go away.

Signed-off-by: Jordan Justen <jordan.l.jus...@intel.com>
---
 cmake/piglit_util.cmake | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cmake/piglit_util.cmake b/cmake/piglit_util.cmake
index e2c3454..45143d2 100644
--- a/cmake/piglit_util.cmake
+++ b/cmake/piglit_util.cmake
@@ -84,5 +84,6 @@ function(piglit_add_library name)
         install(TARGETS ${name} DESTINATION ${PIGLIT_INSTALL_LIBDIR}/lib)
     endif(WIN32)
     add_dependencies(${name} piglit_dispatch_gen)
+    set_target_properties(${name} PROPERTIES SOVERSION "0")
 
 endfunction(piglit_add_library)
-- 
2.1.0

_______________________________________________
Piglit mailing list
Piglit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to