From: Junling Zheng Date: Fri, 17 Apr 2015 08:50:08 +0000 (+0000) Subject: gmp: remove referencing paths from the build host X-Git-Tag: 2015-10~2149 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=97d56a5b8e4f15eb32095f242eb2fd62fc5d85f2;p=openembedded-core.git gmp: remove referencing paths from the build host Currently ${D}${includedir}/gmp.h references the path of build host incorrectly, remove it. Signed-off-by: Junling Zheng Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-support/gmp/gmp.inc b/meta/recipes-support/gmp/gmp.inc index 558ee06799..65cde21a7d 100644 --- a/meta/recipes-support/gmp/gmp.inc +++ b/meta/recipes-support/gmp/gmp.inc @@ -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"