milsko/pl/ostype/Linux.pl
IoIxD 0181a61a3d
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
add libdecor cflags to perl
2026-05-20 13:56:20 -07:00

16 lines
301 B
Perl

my @enabled_backends = ();
if (param_get("wayland") && not(param_get("tiny"))) {
push(@enabled_backends, "wayland");
add_cflags(`pkg-config --cflags libdecor-0`);
}
if (param_get("x11")) {
push(@enabled_backends, "x11");
}
add_cflags("-DUSE_DBUS");
use_backend(@enabled_backends);
1;