diff options
-rw-r--r-- | meta/recipes-support/gmp/gmp.inc | 4 |
1 files changed, 4 insertions, 0 deletions
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" |