From 5f591665d8c5000c85eb30737a9484655f3439c5 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 25 Oct 2014 09:48:24 +0200 Subject: workaround for libelf on Cygwin --- toolchain/libelf/Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'toolchain/libelf/Makefile') diff --git a/toolchain/libelf/Makefile b/toolchain/libelf/Makefile index dbb0b9fb8..4d1b81164 100644 --- a/toolchain/libelf/Makefile +++ b/toolchain/libelf/Makefile @@ -12,6 +12,17 @@ endif $(WRKBUILD)/.headers: $(WRKBUILD)/.configured: + @cd ${WRKBUILD}; \ + for i in $$(find . -name config.sub);do \ + if [ -f $$i ]; then \ + ${CP} ${SCRIPT_DIR}/config.sub $$i; \ + fi; \ + done; \ + for i in $$(find . -name config.guess);do \ + if [ -f $$i ]; then \ + ${CP} ${SCRIPT_DIR}/config.guess $$i; \ + fi; \ + done; (cd $(WRKBUILD); \ $(WRKBUILD)/configure \ --prefix=$(STAGING_HOST_DIR)/usr \ -- cgit v1.2.3