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