Disable the DRM master hooks when EGLFS isn't used

This commit is contained in:
Cameron Gutman committed 2026-02-05 22:36:31 -06:00
1 parent f6a9e7694a
commit 0a2b134d49
4 files changed
+31 -1

No files matched your search

+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
}