On Fri, 1 May 2020 14:27:57 +0900 Masahiro Yamada <masahiroy@xxxxxxxxxx> wrote: > Is it possible to fix the .pc file instead? > > This is ugly, and I do not know what is the > point of pkg-config if it cannot detect the pkg correctly. I know this is ugly, though no more than some code in scripts/Makefile.build. What do you mean fixing the pc file? When the header is not present because libyaml-dev is not installed, but the library is present, then pkg-config just reports that the package exists, when asking with --exists, right? Marek