Red Hat Bugzilla – Bug 1311307
libgflags-devel doesn't ship pkg-config *.pc files
Last modified: 2016-02-27 12:43:32 EST
The gflags-devel package (on x86-64) should include at least the following file:
What's interesting is that glog-devel correctly installs libglog.pc so I'm sure it's a simple matter of looking at the SRPMS to see what's different between glog and gflags.
What's also interesting is that both of these packages (glog and gflags) can be built without threading support. On a Debian Jessie system, if you install libgflags-dev you get all of the following files:
On a Fedora 23 system if you install libgflags-devel you do get the .so built both ways, but you don't get a .a file nor do you get the .pc file, i.e. you'll see the following installed by gflags-devel:
Created attachment 1129954 [details]
patch gflags.spec to include .pc files
should work like:
test -f gflags.spec && patch -p0<gflags.patch
This doesn't work because upstream seems to have broken support for creating pkgconfig files.
I do, however, have a new SPEC and patches for gflags-2.1.2 that I will post in a new bug.