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" | |||
| 26 | PACKAGES =+ "libgmpxx" | 26 | PACKAGES =+ "libgmpxx" |
| 27 | FILES_libgmpxx = "${libdir}/libgmpxx${SOLIBS}" | 27 | FILES_libgmpxx = "${libdir}/libgmpxx${SOLIBS}" |
| 28 | 28 | ||
| 29 | do_install_append_class-target() { | ||
| 30 | sed -i "s|--sysroot=${STAGING_DIR_HOST}||g" ${D}${includedir}/gmp.h | ||
| 31 | } | ||
| 32 | |||
| 29 | SSTATE_SCAN_FILES += "gmp.h" | 33 | SSTATE_SCAN_FILES += "gmp.h" |
