diff options
author | Xavier Claessens <xavier.claessens@collabora.com> | 2020-10-20 08:23:58 -0400 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2020-10-22 00:58:30 +0300 |
commit | 14fd1a329a5825230fce4c586b0c267ddb9b80de (patch) | |
tree | 6c45b011830410bfbf89b3fc05a5a177dd217970 /docs/markdown/Syntax.md | |
parent | bf5bcad05f21804530c025da04f9a0ad90198412 (diff) | |
download | meson-14fd1a329a5825230fce4c586b0c267ddb9b80de.zip meson-14fd1a329a5825230fce4c586b0c267ddb9b80de.tar.gz meson-14fd1a329a5825230fce4c586b0c267ddb9b80de.tar.bz2 |
pkgconfig: Define libdir and includedir in -uninstalled.pc files
This fixes glib-2.0-uninstalled.pc file.
GLib does `extra_cflags : ['-I${libdir}/glib-2.0/include']` because some
of its headers gets installed there. But when used uninstalled that path
makes no sense and pkg-config aborts because ${libdir} is not defined.
This cannot be worked around by GLib because Meson does not allow
setting different `extra_cflags` for -uninstalled.pc, and does not allow
setting libdir in `uninstalled_variables`.
Diffstat (limited to 'docs/markdown/Syntax.md')
0 files changed, 0 insertions, 0 deletions