use pkg-config for dbus includes

This commit is contained in:
IoI_xD 2026-04-15 14:02:22 -07:00
commit 12703d451e

View file

@ -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";
}