Disable the DRM master hooks when EGLFS isn't used

This commit is contained in:
Cameron Gutman
2026-02-05 22:36:31 -06:00
parent f6a9e7694a
commit 0a2b134d49
4 changed files with 31 additions and 1 deletions
+1
View File
@@ -317,6 +317,7 @@ libdrm {
linux {
!disable-masterhooks {
message(Master hooks enabled)
DEFINES += HAVE_DRM_MASTER_HOOKS
SOURCES += masterhook.c masterhook_internal.c
LIBS += -ldl -pthread
}