Permalink
Browse files

A package is a library either if it has libs, or if it doesn't have a…

…ny buildable executables
  • Loading branch information...
kolmodin committed Jun 12, 2010
1 parent 4b232ba commit e64a0b24153a41e3c2919ea61886d429679b73fa
Showing with 1 addition and 1 deletion.
  1. +1 −1 Merge.hs
View
@@ -207,7 +207,7 @@ merge verbosity repo serverURI args overlayPath = do
hasBuildableExes p =
any (buildable . buildInfo)
. executables $ p
- treatAsLibrary = (not . hasBuildableExes) pkgDesc && hasLibs pkgDesc
+ treatAsLibrary = (not . hasBuildableExes) pkgDesc || hasLibs pkgDesc
-- calculate build tools
bt = [ pkg' -- TODO: currently ignoring version range

0 comments on commit e64a0b2

Please sign in to comment.