[SCM] Debian packaging for openturns www.openturns.org branch, debian, updated. debian/1.1-1-7-g60c11be
Denis Barbier
bouzim at gmail.com
Tue Feb 5 00:18:59 UTC 2013
The following commit has been merged in the debian branch:
commit 60c11bea9e12cbdf098446b1182d7f8fd76ea16f
Author: Denis Barbier <bouzim at gmail.com>
Date: Tue Feb 5 01:20:22 2013 +0100
Pass LDFLAGS to CMake when building shared libraries and not only modules
diff --git a/debian/rules b/debian/rules
index 62b0ce5..4533f9c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -61,6 +61,7 @@ override_dh_auto_configure: debian/tmp/usr/lib/R/site-library/rot
-DCMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING='$(cxxflags)' \
-DCMAKE_Fortran_FLAGS_RELWITHDEBINFO:STRING='$(fflags)' \
-DCMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING='$(ldflags)' \
+ -DCMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING='$(ldflags)' \
-DCMAKE_INSTALL_PREFIX:PATH=/usr \
-DOPENTURNS_LIBRARY_PATH:PATH=lib \
-DOPENTURNS_CONFIG_CMAKE_PATH:PATH=lib/cmake/openturns \
--
Debian packaging for openturns www.openturns.org
More information about the debian-science-commits
mailing list