summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics
diff options
context:
space:
mode:
authorJeremy Puhlman <jpuhlman@mvista.com>2020-02-28 15:00:06 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-02-29 13:01:29 +0000
commitfceed19bf1ab26adaea54edcc8af7f767a872269 (patch)
tree031e057bb249c79d1a79fffbc4f9d4d58f546eba /meta/recipes-graphics
parent62cd67ac4ca39edac3c57f648669f1427b6fe7dd (diff)
downloadopenembedded-core-contrib-fceed19bf1ab26adaea54edcc8af7f767a872269.tar.gz
xorgproto: move pc files to libdir
We fixed this two years go: http://lists.openembedded.org/pipermail/openembedded-core/2018-June/151922.html However xorgproto moved to meson and uses pkgconfig module to generate the .pc which does not provide a method of omitting the libdir, which now means any pc generated from meson using the module will always be mulitlib incompatible. Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics')
-rw-r--r--meta/recipes-graphics/xorg-proto/xorgproto_2019.2.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-graphics/xorg-proto/xorgproto_2019.2.bb b/meta/recipes-graphics/xorg-proto/xorgproto_2019.2.bb
index fb3f3aed3d..c0785ccd64 100644
--- a/meta/recipes-graphics/xorg-proto/xorgproto_2019.2.bb
+++ b/meta/recipes-graphics/xorg-proto/xorgproto_2019.2.bb
@@ -19,6 +19,8 @@ inherit meson
PACKAGECONFIG ??= ""
PACKAGECONFIG[legacy] = "-Dlegacy=true,-Dlegacy=false"
+# Datadir only used to install pc files, $datadir/pkgconfig
+datadir="${libdir}"
# ${PN} is empty so we need to tweak -dev and -dbg package dependencies
RDEPENDS_${PN}-dev = ""
RRECOMMENDS_${PN}-dbg = "${PN}-dev (= ${EXTENDPKGV})"