Commit 5c8966bc authored by Duncan Coutts's avatar Duncan Coutts
Browse files

Simplify default global libdir for LHC

So it uses libdir=$prefix/lib rather than libdir=/usr/local/lib
parent 494e7fb2
......@@ -229,9 +229,8 @@ defaultInstallDirs comp userInstall hasLibs = do
libdir = case buildOS of
Windows -> "$prefix"
_other -> case comp of
LHC -> if userInstall then lhcPrefix
else "/usr/local/lib"
_other -> "$prefix" </> "lib",
LHC | userInstall -> lhcPrefix
_ -> "$prefix" </> "lib",
libsubdir = case comp of
Hugs -> "hugs" </> "packages" </> "$pkg"
JHC -> "$compiler"
......
Supports Markdown
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