From 12703d451e63bbf5d505ba0c33f00deab5d3989c Mon Sep 17 00:00:00 2001 From: IoI_xD Date: Wed, 15 Apr 2026 14:02:22 -0700 Subject: [PATCH] use pkg-config for dbus includes --- pl/rules.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pl/rules.pl b/pl/rules.pl index d6f72fb..af1bb21 100644 --- a/pl/rules.pl +++ b/pl/rules.pl @@ -49,7 +49,7 @@ if (grep(/^wayland$/, @backends)) { scan_wayland_protocol("unstable", "pointer-constraints", "-unstable-v1"); scan_wayland_protocol("unstable", "relative-pointer", "-unstable-v1"); - add_cflags("-I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include"); + add_cflags(`pkg-config --cflags dbus-1.0`); $gl_libs = "-lGL -lGLU"; }