From ad5806bab13becdf66cf267982dd1cc9d63875e7 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 27 Feb 2016 20:30:17 +0100 Subject: libelf provides a pkgconfig file, which should not be using double prefix, fixes glib host compile --- toolchain/libelf/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'toolchain/libelf') diff --git a/toolchain/libelf/Makefile b/toolchain/libelf/Makefile index 19f1200fa..5c01902ad 100644 --- a/toolchain/libelf/Makefile +++ b/toolchain/libelf/Makefile @@ -13,7 +13,7 @@ endif $(WRKBUILD)/.configured: (cd $(WRKBUILD); \ $(WRKBUILD)/configure \ - --prefix=$(STAGING_HOST_DIR)/usr \ + --prefix=/usr \ --disable-nls \ --disable-compat \ --disable-shared \ @@ -26,7 +26,7 @@ $(WRKBUILD)/.compiled: $(WRKBUILD)/.configured touch $@ $(WRKBUILD)/.installed: $(WRKBUILD)/.compiled - $(MAKE) -C $(WRKBUILD) install + $(MAKE) instroot=$(STAGING_HOST_DIR) -C $(WRKBUILD) install touch $@ include ${ADK_TOPDIR}/mk/toolchain.mk -- cgit v1.2.3