[SCM] libgroove/master: link with math patch: private linking

andrewrk-guest at users.alioth.debian.org andrewrk-guest at users.alioth.debian.org
Wed May 14 03:50:23 UTC 2014


The following commit has been merged in the master branch:
commit 805b119e23b8e13699f19b782acfc6fbf758fb31
Author: Andrew Kelley <superjoe30 at gmail.com>
Date:   Wed May 14 03:48:07 2014 +0000

    link with math patch: private linking

diff --git a/debian/patches/link-with-math.patch b/debian/patches/link-with-math.patch
index dee321d..6441f26 100644
--- a/debian/patches/link-with-math.patch
+++ b/debian/patches/link-with-math.patch
@@ -4,22 +4,12 @@ Subject: Link against math library
 Origin: vendor
 --- libgroove-4.0.1+dfsg.orig/CMakeLists.txt
 +++ libgroove-4.0.1+dfsg/CMakeLists.txt
-@@ -261,6 +261,9 @@ if(LIBAV_IS_BUNDLED)
-     ${LIBAV_INSTALL}/lib/libavutil.a
-     ${BZIP2_LIBRARIES}
-     ${ZLIB_LIBRARIES})
-+  if(UNIX)
-+    target_link_libraries(groove m)
-+  endif(UNIX)
-   if(MP3LAME_FOUND)
-     target_link_libraries(groove ${MP3LAME_LIBRARY})
-   endif()
 @@ -272,6 +275,9 @@ else()
      ${LIBAV_AVFILTER_LIBRARIES}
      ${LIBAV_AVFORMAT_LIBRARIES})
    target_link_libraries(groove LINK_PUBLIC ${LIBAV_AVUTIL_LIBRARIES})
 +  if(UNIX)
-+    target_link_libraries(groove LINK_PUBLIC m)
++    target_link_libraries(groove LINK_PRIVATE m)
 +  endif(UNIX)
    include_directories(${LIBAV_INCLUDE_DIRS})
  endif()

-- 
libgroove packaging



More information about the pkg-multimedia-commits mailing list