crossguid: remove crossguid-config.cmake file

crossguid adds an automatically generated cmake configuration file named “crossguid-config.cmake”,
which generally works for kodi but causes a reproducibility issue because it contains the full path
to ${STAGING_LIBDIR}/libuuid.so.

It was fixed using a `sed` command that changed the line to `/usr/lib/libuuid.so`.

This does not work if `HOST != TARGET`, since in that case a link is created to native libuuid.

Completely removing “crossguid-config.cmake” resolves this issue, since Kodi then uses pkgconfig to locate crossguid.

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
Markus Volk
2026-07-18 10:25:03 +02:00
committed by Khem Raj
parent 4b6d83babb
commit bde88ba60b
@@ -12,11 +12,10 @@ SRC_URI = "git://github.com/graeme-hill/crossguid;protocol=https;branch=master \
file://run-ptest \
file://0001-include-missing-cstdint.patch"
inherit cmake ptest
do_install:append() {
sed -i -e 's|${STAGING_DIR_HOST}||g' ${D}${datadir}/crossguid/cmake/crossguid-config.cmake
rm -rf ${D}${datadir}/crossguid/cmake
}
do_install_ptest() {