From d9175a0181eb54b14e58b9ce655df3bc74e4ae8c Mon Sep 17 00:00:00 2001 From: Vaxry Date: Thu, 7 Dec 2023 17:22:02 +0000 Subject: [PATCH] hyprpm: fix with system headers fixes #4082 --- hyprpm/src/core/PluginManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hyprpm/src/core/PluginManager.cpp b/hyprpm/src/core/PluginManager.cpp index 8efcdf98..d3e6f171 100644 --- a/hyprpm/src/core/PluginManager.cpp +++ b/hyprpm/src/core/PluginManager.cpp @@ -253,7 +253,7 @@ eHeadersErrors CPluginManager::headersValid() { const auto HLVER = getHyprlandVersion(); // find headers commit - auto headers = execAndGet("pkg-config --cflags hyprland"); + auto headers = execAndGet("pkg-config --cflags --keep-system-cflags hyprland"); if (!headers.contains("-I/")) return HEADERS_MISSING;