unsubstituted @GLIB_CFLAGS@ in hfst.pc on Fedoras
unhammer opened this issue · 0 comments
unhammer commented
On Fedora 26 (but this has been a problem with earlier Fedora's too), the .pc has unsubstituted @GLIB_CFLAGS@
leading to all kinds of consternation for people trying to link to hfst from other packages:
$ cat /usr/lib64/pkgconfig/hfst.pc
prefix=/usr
exec_prefix=/usr
libdir=/usr/lib64
includedir=/usr/include
Name: hfst
Description: Finite-state transducer library bridge for multiple FLOSS packages
Version: 3.12.2
Libs: -L${libdir} -lhfst
Cflags: -I${includedir}/hfst/ @GLIB_CFLAGS@
The file is owned by libhfst-devel-3.12.2.r3453-1.1.x86_64