summaryrefslogtreecommitdiff
path: root/hyprpm/src/core/PluginManager.cpp
diff options
context:
space:
mode:
authorVaxry <vaxry@vaxry.net>2023-12-07 17:22:02 +0000
committerVaxry <vaxry@vaxry.net>2023-12-07 17:22:02 +0000
commitd9175a0181eb54b14e58b9ce655df3bc74e4ae8c (patch)
treebb8ae63fa59cc6a086103da89a0383ad02e6052f /hyprpm/src/core/PluginManager.cpp
parenta794eecd6a71e431b654cebb1b28dbff0d6da079 (diff)
hyprpm: fix with system headers
fixes #4082
Diffstat (limited to 'hyprpm/src/core/PluginManager.cpp')
-rw-r--r--hyprpm/src/core/PluginManager.cpp2
1 files changed, 1 insertions, 1 deletions
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;