xz: Use relative paths in pkg-config metadata file 8880/head
authorJeffery To <jeffery.to@gmail.com>
Thu, 2 May 2019 17:17:12 +0000 (01:17 +0800)
committerJeffery To <jeffery.to@gmail.com>
Thu, 2 May 2019 17:17:12 +0000 (01:17 +0800)
commit2f5a79cdc278603bb972ccbdf78224d812a658ed
tree52f815b017aa0fcba23a40b7e230b9977ce0e35d
parentb57a79dd2c6ab1a07a4d63b74be2bc40753bcf83
xz: Use relative paths in pkg-config metadata file

By default, the liblzma pkg-config file (liblzma.pc) is generated with
absolute paths, which $(STAGING_DIR_HOST)/bin/pkg-config is unable to
override.

This patches the file to use paths relative to ${prefix} and
${exec_prefix}.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
utils/xz/Makefile
utils/xz/patches/001-relative-pkg-config-paths.patch [new file with mode: 0644]