-
Notifications
You must be signed in to change notification settings - Fork 50
Closed
Description
Hello!
I'm trying to use (lib)tidy in my project, but I've found that the tidy.pc pkg-config file is somehow incorrect.
[opc@sws ~]$ cat /usr/lib64/pkgconfig/tidy.pc
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}//usr/lib64
includedir=${prefix}//usr/include
Name: tidy
Description: tidy - HTML syntax checker
URL: http://www.html-tidy.org
Version: 5.6.0
Libs: -L${libdir} -ltidy
Cflags: -I${includedir}
It looks like the prefix is messed-up a bit or the original template already contains the /usr prefix.
[opc@sws ~]$ pkg-config --cflags --libs tidy
-I/usr/usr/include -L/usr/usr/lib64 -ltidy
[opc@sws ~]$ pkgconf --cflags --libs tidy
-I/usr/usr/include -L/usr/usr/lib64 -ltidy
The directory usr/ is applied twice and the resulting path is invalid.
[opc@sws ~]$ cat /etc/oracle-release
Oracle Linux Server release 8.10
[opc@sws ~]$ rpm -qa | grep tidy
libtidy-devel-5.6.0-5.el8.x86_64
tidy-5.6.0-5.el8.x86_64
libtidy-5.6.0-5.el8.x86_64
Metadata
Metadata
Assignees
Labels
No labels