aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-05-30 16:18:31 -0500
committerLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-06-06 22:53:36 -0500
commit14641560b0035402e699b0df0bea75f183ceb057 (patch)
tree6f33a419c8d02320c5533297129d74076c3a5a27 /Makefile
parent7b42232ad10bdb5585a5df9222dd9c15a1a63f80 (diff)
include xcb only when building with xwayland support
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index cab513c..3371144 100644
--- a/Makefile
+++ b/Makefile
@@ -11,7 +11,7 @@ WAYLAND_PROTOCOLS = `pkg-config --variable=pkgdatadir wayland-protocols`
WAYLAND_SCANNER = `pkg-config --variable=wayland_scanner wayland-scanner`
# CFLAGS / LDFLAGS
-PKGS = wlroots wayland-server xcb xkbcommon libinput
+PKGS = wlroots wayland-server xkbcommon libinput $(XLIBS)
DWLCFLAGS = `pkg-config --cflags $(PKGS)` $(DWLCPPFLAGS) $(CFLAGS) $(XWAYLAND)
LDLIBS = `pkg-config --libs $(PKGS)`