Commit fdcb0d9d authored by Christiaan Baaij's avatar Christiaan Baaij
Browse files

Correctly determine location of internal library

parent bb273e7c
...@@ -434,8 +434,11 @@ depLibraryPaths inplace relative lbi clbi = do ...@@ -434,8 +434,11 @@ depLibraryPaths inplace relative lbi clbi = do
let ipkgs = allPackages (installedPkgs lbi) let ipkgs = allPackages (installedPkgs lbi)
allDepLibDirs = concatMap Installed.libraryDirs ipkgs allDepLibDirs = concatMap Installed.libraryDirs ipkgs
internalLib
| inplace = buildDir lbi
| otherwise = libdir installDirs
allDepLibDirs' = if hasInternalDeps allDepLibDirs' = if hasInternalDeps
then (libdir installDirs) : allDepLibDirs then internalLib : allDepLibDirs
else allDepLibDirs else allDepLibDirs
allDepLibDirsC <- mapM canonicalizePathNoFail allDepLibDirs' allDepLibDirsC <- mapM canonicalizePathNoFail allDepLibDirs'
......
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