[oe-commits] Junling Zheng : gmp: remove referencing paths from the build host
git at git.openembedded.org
git at git.openembedded.org
Sun Apr 19 12:36:38 UTC 2015
Module: openembedded-core.git
Branch: master-next
Commit: 97d56a5b8e4f15eb32095f242eb2fd62fc5d85f2
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=97d56a5b8e4f15eb32095f242eb2fd62fc5d85f2
Author: Junling Zheng <zhengjunling at huawei.com>
Date: Fri Apr 17 08:50:08 2015 +0000
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 <zhengjunling at huawei.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/recipes-support/gmp/gmp.inc | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/meta/recipes-support/gmp/gmp.inc b/meta/recipes-support/gmp/gmp.inc
index 558ee06..65cde21 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"
More information about the Openembedded-commits
mailing list