diff options
Diffstat (limited to 'packages/gsl')
-rw-r--r-- | packages/gsl/hmatrix-gsl.cabal | 11 |
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 @@ | |||
1 | Name: hmatrix-gsl | 1 | Name: hmatrix-gsl |
2 | Version: 0.16.0.2 | 2 | Version: 0.16.0.3 |
3 | License: GPL | 3 | License: GPL |
4 | License-file: LICENSE | 4 | License-file: LICENSE |
5 | Author: Alberto Ruiz | 5 | Author: Alberto Ruiz |
@@ -19,6 +19,10 @@ build-type: Simple | |||
19 | 19 | ||
20 | extra-source-files: src/Numeric/GSL/gsl-ode.c | 20 | extra-source-files: src/Numeric/GSL/gsl-ode.c |
21 | 21 | ||
22 | flag onlygsl | ||
23 | description: don't link gslcblas | ||
24 | default: False | ||
25 | |||
22 | library | 26 | library |
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 | ||
82 | source-repository head | 89 | source-repository head |