From 84211ae264e0fc4c6ce0534aa21bbeead29c6482 Mon Sep 17 00:00:00 2001 From: Pat Hickey Date: Fri, 24 Jan 2020 20:01:46 -0800 Subject: [PATCH] manually install wasi-libc --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 7b648e6..a303013 100644 --- a/Makefile +++ b/Makefile @@ -60,8 +60,9 @@ build/wasi-libc.BUILT: build/llvm.BUILT -DCMAKE_C_COMPILER=$(PREFIX)/bin/clang \ -DCMAKE_C_COMPILER_WORKS=YES \ $(ROOT_DIR)/src/wasi-libc - ninja $(NINJA_FLAGS) -v -C build/wasi-libc \ - install + ninja $(NINJA_FLAGS) -v -C build/wasi-libc + mkdir -p $(PREFIX)/share + cp -R build/wasi-libc/sysroot $(PREFIX)/share/wasi-sysroot touch build/wasi-libc.BUILT build/compiler-rt.BUILT: build/wasi-libc.BUILT build/llvm.BUILT