mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-19 17:27:11 +00:00
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:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user