From 196595ecca4232470ce34e6ae1f4e3f297466fc5 Mon Sep 17 00:00:00 2001 From: Alberto Ruiz Date: Thu, 1 Dec 2011 10:11:04 +0000 Subject: OSX options --- packages/glpk/hmatrix-glpk.cabal | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/packages/glpk/hmatrix-glpk.cabal b/packages/glpk/hmatrix-glpk.cabal index 092fd41..7fdfaac 100644 --- a/packages/glpk/hmatrix-glpk.cabal +++ b/packages/glpk/hmatrix-glpk.cabal @@ -33,3 +33,12 @@ library ghc-options: -Wall extra-libraries: glpk + + if os(OSX) + extra-lib-dirs: /opt/local/lib/ + include-dirs: /opt/local/include/ + extra-lib-dirs: /usr/local/lib/ + include-dirs: /usr/local/include/ + if arch(i386) + cc-options: -arch i386 + -- cgit v1.2.3