[med-svn] [rapmap] 01/02: Prefer dynamic to static libraries

Andreas Tille tille at debian.org
Mon Oct 17 14:39:57 UTC 2016


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch master
in repository rapmap.

commit 3e51c4f1fa936cd5c965dcdd75f1f55dfdf4243e
Author: Andreas Tille <tille at debian.org>
Date:   Mon Oct 17 16:06:46 2016 +0200

    Prefer dynamic to static libraries
---
 debian/changelog                     |  1 +
 debian/patches/series                |  1 +
 debian/patches/use_shared_libs.patch | 15 +++++++++++++++
 3 files changed, 17 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 7fb9b21..ae39fc9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 rapmap (0.4.0+dfsg-1) UNRELEASED; urgency=medium
 
   * New upstream version
+  * Prefer dynamic to static libraries
 
  -- Andreas Tille <tille at debian.org>  Sat, 15 Oct 2016 15:33:47 +0200
 
diff --git a/debian/patches/series b/debian/patches/series
index 621280c..26f08c6 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 use-debian-libs.patch
+use_shared_libs.patch
diff --git a/debian/patches/use_shared_libs.patch b/debian/patches/use_shared_libs.patch
new file mode 100644
index 0000000..a45fdc1
--- /dev/null
+++ b/debian/patches/use_shared_libs.patch
@@ -0,0 +1,15 @@
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Sat, 15 Oct 2016 15:33:47 +0200
+Description: Prefer dynamic to static libraries
+
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -33,7 +33,7 @@ set (WARNING_IGNORE_FLAGS "-Wno-unknown-
+ endif()
+ 
+ ## Prefer static to dynamic libraries
+-SET(CMAKE_FIND_LIBRARY_SUFFIXES .a ${CMAKE_FIND_LIBRARY_SUFFIXES})
++SET(CMAKE_FIND_LIBRARY_SUFFIXES .so ${CMAKE_FIND_LIBRARY_SUFFIXES})
+ 
+ ## Set the standard required compile flags
+ if (NO_NATIVE_ARCH)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/rapmap.git



More information about the debian-med-commit mailing list