1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-01-27 14:03:36 +03:00

meson: Add libxml2 part of include dir to pc file

The autotools build results in a pkgconfig file, which looks like this:

"
...
includedir=${prefix}/include
...
Cflags: -I${includedir}/libxml2
"

The latter part is missing when built with meson.
This commit is contained in:
Heiko Becker 2024-06-19 23:13:47 +02:00 committed by Nick Wellnhofer
parent 217e9b7af2
commit a4517bfeaf

View File

@ -745,6 +745,7 @@ pkgmod.generate(
description: 'libXML library version2.',
filebase: 'libxml-2.0',
name: 'libXML',
subdirs: [meson.project_name()],
variables: 'modules=' + dl_dep.found().to_string('1', '0'),
)