Commit c48f1292 authored by Simon Marlow's avatar Simon Marlow
Browse files

pass the whole packageId to GHC with the -package-name flag

This shouldn't make any difference to current GHC's, but will be
required by the new GHC package code.
parent 0abc7c70
......@@ -134,7 +134,7 @@ build pkg_descr lbi verbose = do
libTargetDir (libModules pkg_descr) ["hi-boot"] False False
let ghcArgs =
++ ["-package-name", pkgName (package pkg_descr) ]
++ ["-package-name", showPackageId (package pkg_descr) ]
++ (if splitObjs lbi then ["-split-objs"] else [])
++ constructGHCCmdLine lbi libBi libTargetDir verbose
++ (libModules pkg_descr)
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