From f4a0782986fe2c78f07d60648a15d6780169c30b Mon Sep 17 00:00:00 2001 From: Jean-Paul Calderone <exarkun@twistedmatrix.com> Date: Tue, 25 Apr 2023 15:23:27 -0400 Subject: [PATCH] directly depend on zlib in pkgconfig-depends here for reasons --- gbs-downloader.cabal | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/gbs-downloader.cabal b/gbs-downloader.cabal index 8d37700..d247f4e 100644 --- a/gbs-downloader.cabal +++ b/gbs-downloader.cabal @@ -75,7 +75,7 @@ library , language -- Modules exported by the library. - exposed-modules: Tahoe.Download + exposed-modules: Tahoe.Download -- Modules included in this library but not exported. -- other-modules: @@ -94,10 +94,16 @@ library , text -- Directories containing source files. - hs-source-dirs: src + hs-source-dirs: src -- Base language which the package is written in. - default-language: Haskell2010 + default-language: Haskell2010 + + -- We don't directly depend on zlib but we transitively depend on it through + -- some Haskell library that (I think) doesn't bother to declare a pkgconfig + -- dependency - so the build fails if zlib isn't in just the right place + -- unless we add this. + pkgconfig-depends: zlib executable gbs-download -- Import common warning flags. -- GitLab