diff options
Diffstat (limited to 'hmatrix.cabal')
-rw-r--r-- | hmatrix.cabal | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/hmatrix.cabal b/hmatrix.cabal index 21ed691..50a821a 100644 --- a/hmatrix.cabal +++ b/hmatrix.cabal | |||
@@ -1,5 +1,5 @@ | |||
1 | Name: hmatrix | 1 | Name: hmatrix |
2 | Version: 0.15.0.0 | 2 | Version: 0.15.0.1 |
3 | License: GPL | 3 | License: GPL |
4 | License-file: LICENSE | 4 | License-file: LICENSE |
5 | Author: Alberto Ruiz | 5 | Author: Alberto Ruiz |
@@ -189,6 +189,10 @@ library | |||
189 | if os(windows) | 189 | if os(windows) |
190 | extra-libraries: gsl-0 blas lapack | 190 | extra-libraries: gsl-0 blas lapack |
191 | 191 | ||
192 | if os(linux) | ||
193 | if arch(x86_64) | ||
194 | cc-options: -fPIC | ||
195 | |||
192 | -- The extra-libraries required for GSL and LAPACK | 196 | -- The extra-libraries required for GSL and LAPACK |
193 | -- should now be automatically detected by configure(.hs) | 197 | -- should now be automatically detected by configure(.hs) |
194 | 198 | ||