hyprpm: fix with system headers

fixes #4082
This commit is contained in:
Vaxry 2023-12-07 17:22:02 +00:00
parent a794eecd6a
commit d9175a0181
1 changed files with 1 additions and 1 deletions

View File

@ -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;