mirror of
https://git.yoctoproject.org/poky
synced 2026-04-04 23:02:22 +02:00
gmp: remove referencing paths from the build host
Currently ${D}${includedir}/gmp.h references the path of build host
incorrectly, remove it.
(From OE-Core rev: 97d56a5b8e4f15eb32095f242eb2fd62fc5d85f2)
Signed-off-by: Junling Zheng <zhengjunling@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
ccb2feb6fd
commit
4c31f35d79
@@ -26,4 +26,8 @@ EXTRA_OECONF += " --enable-cxx=detect"
|
||||
PACKAGES =+ "libgmpxx"
|
||||
FILES_libgmpxx = "${libdir}/libgmpxx${SOLIBS}"
|
||||
|
||||
do_install_append_class-target() {
|
||||
sed -i "s|--sysroot=${STAGING_DIR_HOST}||g" ${D}${includedir}/gmp.h
|
||||
}
|
||||
|
||||
SSTATE_SCAN_FILES += "gmp.h"
|
||||
|
||||
Reference in New Issue
Block a user