add libdecor cflags to perl
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good

This commit is contained in:
IoIxD 2026-05-20 13:56:20 -07:00
commit 0181a61a3d
2 changed files with 3 additions and 1 deletions

View file

@ -397,7 +397,7 @@ MwInline int wayland_load_funcs() {
#include "Wayland/xdg-toplevel-icon-client-protocol.h"
#endif
#include <libdecor-0/libdecor.h>
#include <libdecor.h>
typedef struct wayland_protocol {
void* listener;

View file

@ -2,6 +2,7 @@ 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");
@ -9,6 +10,7 @@ if (param_get("x11")) {
add_cflags("-DUSE_DBUS");
use_backend(@enabled_backends);
1;