add libdecor cflags to perl
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
This commit is contained in:
parent
4c331ad2da
commit
0181a61a3d
2 changed files with 3 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue