Skip to content

Commit

Permalink
Remove ld-options when default paths is enabled. (#43)
Browse files Browse the repository at this point in the history
Can't assume /opt/arrayfire/lib exists.
Just add extra-lib-dirs w/ both lib64 and lib.
  • Loading branch information
dmjio authored Nov 12, 2019
1 parent 7a5b6b7 commit 01d5261
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions arrayfire.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,7 @@ library
/opt/arrayfire/include
extra-lib-dirs:
/opt/arrayfire/lib
ld-options:
-Wl,-rpath /opt/arrayfire/lib
/opt/arrayfire/lib64

executable main
hs-source-dirs:
Expand Down

0 comments on commit 01d5261

Please sign in to comment.