Make sure PKG_CONFIG_PATH is set according to target libs
authorPanu Matilainen <pmatilai@redhat.com>
Fri, 15 Mar 2013 10:34:58 +0000 (12:34 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Fri, 7 Jun 2013 07:29:27 +0000 (10:29 +0300)
commite1ad3021dc4e2269a367ae7a87c8f8db9df274ac
treedb2e9947b47d3b6b3a041243baa2f007d34df3c6
parent77a632ad653f60014476a897b64c2254f9205203
Make sure PKG_CONFIG_PATH is set according to target libs

- pkg-config isn't multilib-aware by itself so things fail when
  building packages for secondary archs (RhBug:212522)
- A variant of this patch has been in Fedora and RHEL for quite some
  time, but they used to just brutally override whatever might
  have been in PKG_CONFIG_PATH, which can break things in a custom
  setup (RhBug:569773). Append instead of full override.
(cherry picked from commit aa8979f4d1cd5ad5b2c69135595d90489e039817)
macros.in