diff options
author | Juergen Gross <jgross@suse.com> | 2020-08-28 17:07:17 +0200 |
---|---|---|
committer | Wei Liu <wl@xen.org> | 2020-09-09 10:57:16 +0000 |
commit | 52dbd6f07cea7a776ba1fcc76f111c311c8a1412 (patch) | |
tree | cfde4ac333f968bec4fb15d5dde9e0bffc80bbd2 /stubdom | |
parent | 1e2d3be2e516e6f415ca6029f651b76a8563a27c (diff) |
tools: generate pkg-config files from make variables
For each library built two variants of pkg-config files are created
from a per-library template: an "official" one for installation on
the user's system, and one used for building internal tools, like e.g.
qemu.
Instead of the template which is looking very similar for all libraries
generate the pkg-config files directly from make variables.
This will reduce the need to specify some pkg-config file entries in
the templates, as the contents can easily be generated from available
data (e.g. "Version:" and "Requires.private:" entries).
Especially the variant used for building internal tools needs to gain
additional runtime link parameters for the internally used libraries,
as otherwise those won't be found by the users (e.g. qemu).
Signed-off-by: Juergen Gross <jgross@suse.com>
Acked-by: Wei Liu <wl@xen.org>
Diffstat (limited to 'stubdom')
-rw-r--r-- | stubdom/Makefile | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/stubdom/Makefile b/stubdom/Makefile index 98eba8efe3..f000f56e68 100644 --- a/stubdom/Makefile +++ b/stubdom/Makefile @@ -342,7 +342,6 @@ define do_links cd $(dir $@); \ ln -sf $(dir $<)include/*.h include/; \ ln -sf $(dir $<)*.[ch] .; \ - ln -sf $(dir $<)*.pc.in .; \ ln -sf $(dir $<)Makefile . touch $@ endef |