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>
This commit is contained in:
parent
288cd1c74a
commit
0699321b3c
1 changed files with 1 additions and 0 deletions
|
@ -321,6 +321,7 @@ libalpm = library(
|
||||||
'alpm',
|
'alpm',
|
||||||
version : libalpm_version,
|
version : libalpm_version,
|
||||||
objects: libalpm_a.extract_all_objects(recursive: true),
|
objects: libalpm_a.extract_all_objects(recursive: true),
|
||||||
|
include_directories : includes,
|
||||||
dependencies : alpm_deps,
|
dependencies : alpm_deps,
|
||||||
install : true)
|
install : true)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue