Skip to content

Commit bb4c4df

Browse files
committed
Updated cabal file settings.
1 parent 1b0c229 commit bb4c4df

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

arrayfire.cabal

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,14 +90,22 @@ library
9090
default-language:
9191
Haskell2010
9292

93-
if (os(linux) || os(OSX)) && !flag(disable-default-paths)
93+
if os(linux) && !flag(disable-default-paths)
9494
include-dirs:
9595
/opt/arrayfire/include
9696
extra-lib-dirs:
9797
/opt/arrayfire/lib
9898
ld-options:
9999
-Wl,-rpath /opt/arrayfire/lib
100100

101+
if os(OSX) && !flag(disable-default-paths)
102+
include-dirs:
103+
/opt/arrayfire/include
104+
extra-lib-dirs:
105+
/opt/arrayfire/lib64
106+
ld-options:
107+
-Wl,-rpath /opt/arrayfire/lib64
108+
101109
executable main
102110
hs-source-dirs:
103111
exe

0 commit comments

Comments
 (0)