Skip to content

Commit

Permalink
setup: fix windows library paths
Browse files Browse the repository at this point in the history
  • Loading branch information
tmcdonell committed Dec 19, 2016
1 parent dc7ae89 commit 7b2c396
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Setup.hs
Original file line number Diff line number Diff line change
Expand Up @@ -383,8 +383,8 @@ cudaLibraryPath (Platform arch os) base = base </> libpath
where
libpath =
case (os, arch) of
(Windows, I386) -> "Win32"
(Windows, X86_64) -> "x64"
(Windows, I386) -> "lib/Win32"
(Windows, X86_64) -> "lib/x64"
(OSX, _) -> "lib" -- MacOS does not distinguish 32- vs. 64-bit paths
(_, X86_64) -> "lib64" -- treat all others similarly
_ -> "lib"
Expand Down

0 comments on commit 7b2c396

Please sign in to comment.