From 17f8bc1c624dea8586d72c2decb7f3ccf4c54a1e Mon Sep 17 00:00:00 2001 From: Virt <41426325+VirtCode@users.noreply.github.com> Date: Sat, 29 Jun 2024 20:02:27 +0200 Subject: [PATCH] fix: proper reloads with --no-gnu-unique --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 65fe286..19e88d0 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ all: $(PLUGIN_NAME).so $(PLUGIN_NAME).so: $(SOURCE_FILES) mkdir -p out - g++ -shared -Wall -fPIC $(SOURCE_FILES) -g -DWLR_USE_UNSTABLE `pkg-config --cflags pixman-1 libdrm hyprland` -std=c++23 -o out/$(PLUGIN_NAME).so + g++ -shared -Wall --no-gnu-unique -fPIC $(SOURCE_FILES) -g -DWLR_USE_UNSTABLE `pkg-config --cflags pixman-1 libdrm hyprland` -std=c++23 -o out/$(PLUGIN_NAME).so clean: rm -f out/$(PLUGIN_NAME).so