diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2021-04-19 05:25:13 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2021-04-19 09:51:44 +0200 |
commit | 0699321b3ce71c46fbd0a10fede3959d0fac7009 (patch) | |
tree | 942a0aeec60bc9a6261b1a1ee21e4ce8ff496d4f | |
parent | 288cd1c74afc5ff2e28b9a45a76d2146da583903 (diff) | |
download | pacman-0699321b3ce71c46fbd0a10fede3959d0fac7009.tar.gz pacman-0699321b3ce71c46fbd0a10fede3959d0fac7009.tar.xz |
meson: make -uninstalled.pc correct
This pkg-config file is automatically created in the meson-uninstalled/
directory of the build tree, and points to the built artifacts there. If
this directory is added to PKG_CONFIG_PATH, it will be preferred over an
installed copy.
Making this work properly means it becomes trivially possible to build a
private copy of libalpm, and then compile other projects using it rather
than the system copy.
Signed-off-by: Eli Schwartz <eschwartz@archlinux.org>
Signed-off-by: Allan McRae <allan@archlinux.org>
-rw-r--r-- | meson.build | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meson.build b/meson.build index f76a647b..c8835ab6 100644 --- a/meson.build +++ b/meson.build @@ -321,6 +321,7 @@ libalpm = library( 'alpm', version : libalpm_version, objects: libalpm_a.extract_all_objects(recursive: true), + include_directories : includes, dependencies : alpm_deps, install : true) |