Skip to content
This repository has been archived by the owner on Jun 28, 2022. It is now read-only.

Commit

Permalink
Workaround broken "Framework" on Linux.
Browse files Browse the repository at this point in the history
  • Loading branch information
mgajda committed Jul 1, 2012
1 parent 0044ee7 commit 6843b74
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions OpenCL.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ Library
if os(linux)
cpp-options: -DCALLCONV=ccall -Iinclude
Frameworks: OpenCL
-- this is needed for linking executables, but not for ghci -lOpenCL:
extra-libraries: OpenCL

if os(darwin)
cpp-options: -DCALLCONV=ccall
Expand Down

0 comments on commit 6843b74

Please sign in to comment.