diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-02-27 20:30:17 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-02-27 20:30:40 +0100 |
commit | ad5806bab13becdf66cf267982dd1cc9d63875e7 (patch) | |
tree | ed6912b3c440c868fe68b33a443d194b76de3145 | |
parent | 527fc55f380b91bfc7de57f86d9c76358489614b (diff) |
libelf provides a pkgconfig file, which should not be using double prefix, fixes glib host compile
-rw-r--r-- | toolchain/libelf/Makefile | 4 |
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 |