diff options
author | Jeffery To <jeffery.to@gmail.com> | 2019-05-15 22:30:24 +0800 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2019-05-17 21:41:43 +0200 |
commit | 782eda9750e5f0d2bda103e1fbe5154032e85822 (patch) | |
tree | 8c4dcb63a03f43d72358e4baf22fc04f57a1be46 /target/linux/ramips/image/mt7620.mk | |
parent | 3fcb70927597bad2896c6b39b2bdd2bb4c371bf3 (diff) | |
download | upstream-782eda9750e5f0d2bda103e1fbe5154032e85822.tar.gz upstream-782eda9750e5f0d2bda103e1fbe5154032e85822.tar.bz2 upstream-782eda9750e5f0d2bda103e1fbe5154032e85822.zip |
zlib: Use relative paths in pkg-config metadata file
The buildroot pkg-config (in staging_dir/host/bin) overrides the prefix
and exec_prefix variables in *.pc files, to supply the correct
(buildroot) paths for callers. If other variables are not defined
relative to prefix and exec_prefix, then the returned values will be
incorrect.
The default zlib.pc file generated by cmake contains absolute paths.
This patches the file to use relative paths (relative to ${prefix} and
${exec_prefix}).
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Diffstat (limited to 'target/linux/ramips/image/mt7620.mk')
0 files changed, 0 insertions, 0 deletions