Allow building Wayland platform without dbus (#726)

This commit supports configure-based builds without the dbus-dev package;
CMake-based builds are expected to be changed in further commit.
This commit is contained in:
ManoloFLTK
2023-04-30 18:41:49 +02:00
parent 7a8343e7e4
commit cdd1566cf9
4 changed files with 11 additions and 6 deletions

View File

@@ -51,7 +51,7 @@ os-compatibility.o : ../src/os-compatibility.c
$(CC) $(CFLAGS_DECOR) -c ../src/os-compatibility.c
cursor-settings.o : ../src/cursor-settings.c
$(CC) $(CFLAGS_DECOR) -c ../src/cursor-settings.c -DHAS_DBUS `pkg-config --cflags dbus-1`
$(CC) $(CFLAGS_DECOR) -c ../src/cursor-settings.c $(LIBDECORDBUS)
../../src/xdg-shell-protocol.c :
wayland-scanner private-code $(PROTOCOLS)/stable/xdg-shell/xdg-shell.xml \