X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2Fmain%2FPackages.lhs;h=b080b95b1af4e5d4302d0ff4f3610d91abc39ce2;hp=a940f991211ae07f3b39eabb66bde41b5674cce7;hb=9e6ca39b5e90b7a4acc755e3e95cc3ef60940070;hpb=2d874edca55c4f1761a111dc068d17b319cf707e diff --git a/compiler/main/Packages.lhs b/compiler/main/Packages.lhs index a940f99..b080b95 100644 --- a/compiler/main/Packages.lhs +++ b/compiler/main/Packages.lhs @@ -947,6 +947,9 @@ missingDependencyMsg (Just parent) -- | Will the 'Name' come from a dynamically linked library? isDllName :: PackageId -> Name -> Bool +-- Despite the "dll", I think this function just means that +-- the synbol comes from another dynamically-linked package, +-- and applies on all platforms, not just Windows isDllName this_pkg name | opt_Static = False | Just mod <- nameModule_maybe name = modulePackageId mod /= this_pkg