xrdb: Pass target CPP location to configure

CPP is encoded into xrdb binary and it ends up encoding the cpp from
HOSTTOOLS location which obviously wont be where cpp will live at
runtime

Fixes
WARNING: xrdb-1.2.1-r0 do_package_qa: QA Issue: File /usr/bin/xrdb in package xrdb contains reference to TMPDIR [buildpaths]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj
2023-05-20 11:47:24 -07:00
parent 98a80a5f6a
commit 31a6d8d88b
@@ -6,3 +6,5 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d1167c4f586bd41f0c62166db4384a69"
DEPENDS += "libxmu"
SRC_URI[sha256sum] = "4f5d031c214ffb88a42ae7528492abde1178f5146351ceb3c05f3b8d5abee8b4"
EXTRA_OECONF += "--with-cpp=${bindir}/cpp"