Commit 7c3ea677 authored by refold's avatar refold
Browse files

Make it possible to build empty libraries again.

Restores old behaviour broken by @igfoo in
8395c5db. Fixes #1241.
parent 4e760302
......@@ -295,7 +295,8 @@ generalInstalledPackageInfo adjustRelIncDirs pkg lib clbi installDirs =
then libdir installDirs : extraLibDirs bi
else extraLibDirs bi,
IPI.hsLibraries = [ libname
| LibraryName libname <- componentLibraries clbi ],
| LibraryName libname <- componentLibraries clbi
, hasLibrary ],
IPI.extraLibraries = extraLibs bi,
IPI.extraGHCiLibraries = [],
IPI.includeDirs = absinc ++ adjustRelIncDirs relinc,
......
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