From 44555bfc9385a168e11bfeefe64770e42eb083a7 Mon Sep 17 00:00:00 2001 From: Alberto Ruiz Date: Fri, 31 Oct 2014 13:17:38 +0100 Subject: add flag onlygsl --- packages/gsl/hmatrix-gsl.cabal | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'packages/gsl/hmatrix-gsl.cabal') 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 @@ Name: hmatrix-gsl -Version: 0.16.0.2 +Version: 0.16.0.3 License: GPL License-file: LICENSE Author: Alberto Ruiz @@ -19,6 +19,10 @@ build-type: Simple extra-source-files: src/Numeric/GSL/gsl-ode.c +flag onlygsl + description: don't link gslcblas + default: False + library Build-Depends: base<5, hmatrix>=0.16, array, vector, @@ -76,7 +80,10 @@ library if arch(x86_64) cc-options: -fPIC - pkgconfig-depends: gsl + if flag(onlygsl) + extra-libraries: gsl + else + pkgconfig-depends: gsl source-repository head -- cgit v1.2.3