summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/plugins/platforms/wayland/wayland.pro6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/plugins/platforms/wayland/wayland.pro b/src/plugins/platforms/wayland/wayland.pro
index b0cb98b..4c01fa2 100644
--- a/src/plugins/platforms/wayland/wayland.pro
+++ b/src/plugins/platforms/wayland/wayland.pro
@@ -16,7 +16,11 @@ HEADERS = qwaylandintegration.h \
contains(QT_CONFIG, opengl) {
QT += opengl
}
-LIBS += -lwayland-client -ldrm -lxkbcommon -lEGL -lGLESv2
+LIBS += -lwayland-client -lxkbcommon -lEGL -lGLESv2
+unix {
+ CONFIG += link_pkgconfig
+ PKGCONFIG += libdrm
+}
include (../fontdatabases/fontconfig/fontconfig.pri)