diff options
Diffstat (limited to 'debian/patches/0001-libpiglit-Set-CMAKE-SOVERSION-for-internal-libraries.patch')
-rw-r--r-- | debian/patches/0001-libpiglit-Set-CMAKE-SOVERSION-for-internal-libraries.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/debian/patches/0001-libpiglit-Set-CMAKE-SOVERSION-for-internal-libraries.patch b/debian/patches/0001-libpiglit-Set-CMAKE-SOVERSION-for-internal-libraries.patch new file mode 100644 index 000000000..bd662ff3d --- /dev/null +++ b/debian/patches/0001-libpiglit-Set-CMAKE-SOVERSION-for-internal-libraries.patch @@ -0,0 +1,31 @@ +From 58443e98e849916ceaf646d0c6966b226178bd8e Mon Sep 17 00:00:00 2001 +From: Jordan Justen <jordan.l.justen@intel.com> +Date: Wed, 10 Sep 2014 01:55:06 -0700 +Subject: [PATCH] libpiglit: Set CMAKE SOVERSION for internal libraries to "0" + +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@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 + |