Closed wesm closed 8 months ago
Hi @wesm - I am a little unclear about what you mean here. Are you saying downstream tools cannot find re2 via pkg-config?
On closer look, it doesn't appear that re2 supports pkgconfig. This is probably something that we should fix upstream in re2. cc @kou
re2 supports pkg-config (re2.pc
) with Makefile
build but doesn't support with CMake build.
If we use Makefile
instead of CMake, we can support pkg-config.
Or we can support pkg-config by we add pkg-config support to CMake build in upstream. I've sent an e-mail to re2-dev for this: https://groups.google.com/forum/#!topic/re2-dev/bZmRcjZ1PjY
https://groups.google.com/forum/#!msg/re2-dev/bZmRcjZ1PjY/_3tuSm7sAAAJ
re2 developers don't expect to use CMake by users who have GNU make.
It may be better that we use Makefile
instead of CMake in build.sh
.
That's fine with me
Recent re2
builds contain lib/pkgconfig/re2.pc
, so closing this as outdated.
Tools that rely on pkgconfig cannot find the installed package in
$ENV/lib/pkgconfig