From 3219c84433874c3b852a254b7b3047f0e19913d8 Mon Sep 17 00:00:00 2001
From: vaxerski <43317083+vaxerski@users.noreply.github.com>
Date: Tue, 10 Oct 2023 20:03:02 +0100
Subject: [PATCH] makefile: set perms for built subprojects in pluginenv

---
 Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Makefile b/Makefile
index 50e82405..6a96015c 100644
--- a/Makefile
+++ b/Makefile
@@ -115,6 +115,9 @@ pluginenv:
 	meson setup subprojects/wlroots/build subprojects/wlroots --prefix=${PREFIX} --buildtype=release -Dwerror=false -Dexamples=false
 	ninja -C subprojects/wlroots/build/
 
+	chmod -R 777 subprojects/udis86
+	chmod -R 777 subprojects/wlroots
+
 	cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -S . -B ./build -G Ninja
 
 	mkdir -p ${PREFIX}/include/hyprland