[netcdf] 01/02: add patch for linking TPLs privately

Nico Schlömer nschloe-guest at moszumanska.debian.org
Thu Jan 8 14:57:40 UTC 2015


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

nschloe-guest pushed a commit to branch split-c-f-cxx
in repository netcdf.

commit 2aec21530a5517e8e5eb02ebc47c342627e6dcdc
Author: Nico Schlömer <nico.schloemer at gmail.com>
Date:   Thu Oct 16 00:23:29 2014 +0200

    add patch for linking TPLs privately
---
 debian/patches/link-private.patch | 13 +++++++++++++
 debian/patches/series             |  1 +
 2 files changed, 14 insertions(+)

diff --git a/debian/patches/link-private.patch b/debian/patches/link-private.patch
new file mode 100644
index 0000000..64b4877
--- /dev/null
+++ b/debian/patches/link-private.patch
@@ -0,0 +1,13 @@
+diff --git a/liblib/CMakeLists.txt b/liblib/CMakeLists.txt
+index 0270f26..8ccdee6 100644
+--- a/liblib/CMakeLists.txt
++++ b/liblib/CMakeLists.txt
+@@ -77,7 +77,7 @@ ENDIF()
+ IF(ENABLE_PNETCDF AND PNETCDF)
+   LIST(APPEND TLL_LIBS ${PNETCDF})
+ ENDIF()
+-TARGET_LINK_LIBRARIES(netcdf ${TLL_LIBS})
++TARGET_LINK_LIBRARIES(netcdf PRIVATE ${TLL_LIBS})
+ 
+ IF(MSVC)
+   SET_TARGET_PROPERTIES(netcdf PROPERTIES
diff --git a/debian/patches/series b/debian/patches/series
index e69de29..a657fb8 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -0,0 +1 @@
+link-private.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/netcdf.git



More information about the Pkg-grass-devel mailing list