summaryrefslogtreecommitdiff
path: root/packages/gsl
diff options
context:
space:
mode:
authorAlberto Ruiz <aruiz@um.es>2014-10-31 13:17:38 +0100
committerAlberto Ruiz <aruiz@um.es>2014-10-31 13:17:38 +0100
commit44555bfc9385a168e11bfeefe64770e42eb083a7 (patch)
treeced010ecbe87c4967b632a796f6e97e57f832224 /packages/gsl
parent3494530a7906abddbac8ddb2cb3f18cde72c27d9 (diff)
add flag onlygsl
Diffstat (limited to 'packages/gsl')
-rw-r--r--packages/gsl/hmatrix-gsl.cabal11
1 files changed, 9 insertions, 2 deletions
diff --git a/packages/gsl/hmatrix-gsl.cabal b/packages/gsl/hmatrix-gsl.cabal
index 9af31ee..95fa3ed 100644
--- a/packages/gsl/hmatrix-gsl.cabal
+++ b/packages/gsl/hmatrix-gsl.cabal
@@ -1,5 +1,5 @@
1Name: hmatrix-gsl 1Name: hmatrix-gsl
2Version: 0.16.0.2 2Version: 0.16.0.3
3License: GPL 3License: GPL
4License-file: LICENSE 4License-file: LICENSE
5Author: Alberto Ruiz 5Author: Alberto Ruiz
@@ -19,6 +19,10 @@ build-type: Simple
19 19
20extra-source-files: src/Numeric/GSL/gsl-ode.c 20extra-source-files: src/Numeric/GSL/gsl-ode.c
21 21
22flag onlygsl
23 description: don't link gslcblas
24 default: False
25
22library 26library
23 27
24 Build-Depends: base<5, hmatrix>=0.16, array, vector, 28 Build-Depends: base<5, hmatrix>=0.16, array, vector,
@@ -76,7 +80,10 @@ library
76 if arch(x86_64) 80 if arch(x86_64)
77 cc-options: -fPIC 81 cc-options: -fPIC
78 82
79 pkgconfig-depends: gsl 83 if flag(onlygsl)
84 extra-libraries: gsl
85 else
86 pkgconfig-depends: gsl
80 87
81 88
82source-repository head 89source-repository head