b3184f
From a34a32a9faea832f378f67d5121f430d0b96a925 Mon Sep 17 00:00:00 2001
b3184f
From: Aditya R <arajan@redhat.com>
b3184f
Date: Tue, 23 Aug 2022 22:23:48 +0530
b3184f
Subject: [PATCH] makefile: remove windows specific libaries from vendor
b3184f
b3184f
Modify `vendor-rm-windows` to remove windows specific libaries from
b3184f
vendor directory
b3184f
b3184f
Signed-off-by: Aditya R <arajan@redhat.com>
b3184f
---
b3184f
 Makefile | 2 ++
b3184f
 1 file changed, 2 insertions(+)
b3184f
b3184f
diff --git a/Makefile b/Makefile
b3184f
index 411203a..75ba52d 100644
b3184f
--- a/Makefile
b3184f
+++ b/Makefile
b3184f
@@ -109,6 +109,8 @@ vendor: ## vendor everything into vendor/
b3184f
 vendor-rm-windows:
b3184f
 	if [ -d "vendor/winapi" ]; then \
b3184f
 		rm -fr vendor/winapi*gnu*/lib/*.a; \
b3184f
+		rm -fr vendor/windows*/lib/*.a; \
b3184f
+		rm -fr vendor/windows*/lib/*.lib; \
b3184f
 	fi
b3184f
 
b3184f
 .PHONY: vendor-tarball