summaryrefslogtreecommitdiff
path: root/toolchain/libelf
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-02-27 20:30:17 +0100
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-02-27 20:30:40 +0100
commitad5806bab13becdf66cf267982dd1cc9d63875e7 (patch)
treeed6912b3c440c868fe68b33a443d194b76de3145 /toolchain/libelf
parent527fc55f380b91bfc7de57f86d9c76358489614b (diff)
libelf provides a pkgconfig file, which should not be using double prefix, fixes glib host compile
Diffstat (limited to 'toolchain/libelf')
-rw-r--r--toolchain/libelf/Makefile4
1 files changed, 2 insertions, 2 deletions
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