[Piglit] [PATCH] libpiglit: Set CMAKE SOVERSION for internal libraries to "0"

Jordan Justen jordan.l.justen at intel.com
Wed Sep 10 09:37:45 PDT 2014

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.justen at 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)
     add_dependencies(${name} piglit_dispatch_gen)
+    set_target_properties(${name} PROPERTIES SOVERSION "0")

More information about the Piglit mailing list