Skip to content

Commit

Permalink
Include extra-lib-dirs-static into PackageHash
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbiehl authored and mergify-bot committed Mar 18, 2022
1 parent 0184445 commit 88d2372
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cabal-install/src/Distribution/Client/PackageHash.hs
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ data PackageHashConfigInputs = PackageHashConfigInputs {
pkgHashDebugInfo :: DebugInfoLevel,
pkgHashProgramArgs :: Map String [String],
pkgHashExtraLibDirs :: [FilePath],
pkgHashExtraLibDirsStatic :: [FilePath],
pkgHashExtraFrameworkDirs :: [FilePath],
pkgHashExtraIncludeDirs :: [FilePath],
pkgHashProgPrefix :: Maybe PathTemplate,
Expand Down Expand Up @@ -290,6 +291,7 @@ renderPackageHashInputs PackageHashInputs{
, opt "stripped-exe" True prettyShow pkgHashStripExes
, opt "debug-info" NormalDebugInfo (show . fromEnum) pkgHashDebugInfo
, opt "extra-lib-dirs" [] unwords pkgHashExtraLibDirs
, opt "extra-lib-dirs-static" [] unwords pkgHashExtraLibDirsStatic
, opt "extra-framework-dirs" [] unwords pkgHashExtraFrameworkDirs
, opt "extra-include-dirs" [] unwords pkgHashExtraIncludeDirs
, opt "prog-prefix" Nothing (maybe "" fromPathTemplate) pkgHashProgPrefix
Expand Down
1 change: 1 addition & 0 deletions cabal-install/src/Distribution/Client/ProjectPlanning.hs
Original file line number Diff line number Diff line change
Expand Up @@ -3871,6 +3871,7 @@ packageHashConfigInputs shared@ElaboratedSharedConfig{..} pkg =
pkgHashDebugInfo = elabDebugInfo,
pkgHashProgramArgs = elabProgramArgs,
pkgHashExtraLibDirs = elabExtraLibDirs,
pkgHashExtraLibDirsStatic = elabExtraLibDirsStatic,
pkgHashExtraFrameworkDirs = elabExtraFrameworkDirs,
pkgHashExtraIncludeDirs = elabExtraIncludeDirs,
pkgHashProgPrefix = elabProgPrefix,
Expand Down

0 comments on commit 88d2372

Please sign in to comment.