From 702b58c8f4935319d6948e1f3b4b864f7d3aa030 Mon Sep 17 00:00:00 2001
From: Firas Khalil Khana <firasuke@gmail.com>
Date: Sat, 20 Jun 2020 23:21:44 +0300
Subject: [PATCH] Don't install headers again

We already have musl headers installed into `obj_sysroot` with `obj_sysroot/.lc_headers`, so we only need to install the `libs` and `tools`.
---
 litecross/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/litecross/Makefile b/litecross/Makefile
index 8ec0ed2..1742ef4 100644
--- a/litecross/Makefile
+++ b/litecross/Makefile
@@ -238,7 +238,7 @@ obj_musl/.lc_built: | obj_musl/.lc_configured
 	touch $@
 
 obj_sysroot/.lc_libs: | obj_musl/.lc_built
-	cd obj_musl && $(MAKE) $(MUSL_VARS) DESTDIR=$(CURDIR)/obj_sysroot install
+	cd obj_musl && $(MAKE) $(MUSL_VARS) DESTDIR=$(CURDIR)/obj_sysroot install-libs install-tools
 	touch $@
 
 obj_gcc/.lc_built: | obj_gcc/.lc_configured obj_gcc/gcc/.lc_built