eigen: Fix pkg-config file prefix error
authorMatt Flax <flatmax@flatmax.org>
Thu, 16 Aug 2018 22:16:20 +0000 (08:16 +1000)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 17 Aug 2018 17:20:23 +0000 (19:20 +0200)
commite477dc19b5264c8fd01ff235dded4f148fde7a65
treeca0f56d1c3087705aa6969b48418cac3da2120c3
parentae977e942893ac7e5c9b69418f047acae1603c27
eigen: Fix pkg-config file prefix error

eigen generates a pkg-config file which has a broken prefix
(@CMAKE_INSTALL_PREFIX@).  This broken prefix causes an incorrect path when
other packages call pkg-config --cflags eigen.

This patch fixes the prefix in the generated eigen pc file, so projects
which depend on this pc file can now correctly find the eigen include
directory at build time.

Also correct the Cflags output to use the runtime prefix instead of the
build time STAGING_DIR, like we do elsewhere.

[Peter: drop backslashes, tweak commit message]
Signed-off-by: Matt Flax <flatmax@flatmax.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/eigen/eigen.mk