diff options
Diffstat (limited to 'compiler/GHC/Driver/Make.hs')
-rw-r--r-- | compiler/GHC/Driver/Make.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/GHC/Driver/Make.hs b/compiler/GHC/Driver/Make.hs index 30e313ea46..dd8d0a217f 100644 --- a/compiler/GHC/Driver/Make.hs +++ b/compiler/GHC/Driver/Make.hs @@ -343,8 +343,8 @@ warnUnusedPackages = do matchingStr :: String -> UnitInfo -> Bool matchingStr str p - = str == sourcePackageIdString p - || str == packageNameString p + = str == unitPackageIdString p + || str == unitPackageNameString p matching :: DynFlags -> PackageArg -> UnitInfo -> Bool matching _ (PackageArg str) p = matchingStr str p |