This commit is contained in:
Nishi 2026-04-18 21:52:02 +09:00
commit 39bee0e5cc
Signed by: nishi
GPG key ID: 27EF69B208EB9343
4 changed files with 10 additions and 3 deletions

View file

@ -60,6 +60,10 @@ if (grep(/^wayland$/, @backends)) {
$gl_libs = "-lGL -lGLU";
}
if (not(param_get("dbus"))) {
$cflags =~ s/( |^)-DUSE_DBUS( |$)/ /;
}
if (grep(/( |^)-DUSE_DBUS( |$)/, $cflags)) {
add_cflags(`pkg-config --cflags dbus-1`);
}