Commit 4347d0d7 authored by tulcod's avatar tulcod

Also set Windows libray search path during cabal exec

parent cd7b5a68
......@@ -95,8 +95,9 @@ sandboxEnvironment verbosity sandboxDir comp platform programDb =
unless exists $ warn verbosity $ "Package database is not a directory: "
++ sandboxPackagePath
let ldPath = case os of
OSX -> "DYLD_LIBRARY_PATH"
_ -> "LD_LIBRARY_PATH"
OSX -> "DYLD_LIBRARY_PATH"
Windows -> "PATH"
_ -> "LD_LIBRARY_PATH"
currentLibraryPath <- lookupEnv ldPath
let newLibraryPath = case currentLibraryPath of
Nothing -> sandboxDir </> "lib"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment