From 0699321b3ce71c46fbd0a10fede3959d0fac7009 Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Sun, 18 Apr 2021 23:25:13 -0400 Subject: 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 Signed-off-by: Allan McRae --- meson.build | 1 + 1 file changed, 1 insertion(+) 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) -- cgit v1.2.3-54-g00ecf