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

View file

@ -253,7 +253,7 @@ eHeadersErrors CPluginManager::headersValid() {
const auto HLVER = getHyprlandVersion(); const auto HLVER = getHyprlandVersion();
// find headers commit // find headers commit
auto headers = execAndGet("pkg-config --cflags hyprland"); auto headers = execAndGet("pkg-config --cflags --keep-system-cflags hyprland");
if (!headers.contains("-I/")) if (!headers.contains("-I/"))
return HEADERS_MISSING; return HEADERS_MISSING;