git.iko.soy/typeable/libphonenumber
on main help sign in
Include protobuf as pkgconfig-depends

With extra-libraries cabal doesn't track version of the C library, so every time you update system dependencies and it's updated, this library breaks and you have to nuke the whole cabal store.

commit9461e5b5788d499002e0a6cbb4bfe6b3a0f9a39d authorAndrzej Rybczak <andrzej@rybczak.net> dateSun 7 Dec 2025, 23:34 (1 year ago) parenta5006a2
1 file changed+1−1
libphonenumber.cabal+1−1
libphonenumber.cabal+1−1
@@ -69,6 +69,7 @@ library
6969 , deepseq >= 1.4.4 && < 1.6
7070 , transformers >= 0.5.5 && < 0.7
7171 build-tool-depends: c2hs:c2hs
72+ pkgconfig-depends: protobuf
7273 include-dirs: include
7374 includes:
7475 , c_phonenumber.h
@@ -78,7 +79,6 @@ library
7879 , cxxbits/c_phonenumberutil.cpp
7980 extra-libraries:
8081 , phonenumber
81− , protobuf
8282 if impl(ghc >= 9.4)
8383 build-depends: system-cxx-std-lib
8484 else