[vlc-commits] xdg/inhibit: do not attempt build on Windows

Rémi Denis-Courmont git at videolan.org
Sat Nov 23 20:04:16 CET 2019


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Nov 23 18:43:55 2019 +0200| [bb132704cabb7dc371c9d2227275409f77991296] | committer: Rémi Denis-Courmont

xdg/inhibit: do not attempt build on Windows

POSIX process management cannot be used there.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=bb132704cabb7dc371c9d2227275409f77991296
---

 modules/misc/Makefile.am | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/misc/Makefile.am b/modules/misc/Makefile.am
index f5cbaea1be..dd8abaf5ba 100644
--- a/modules/misc/Makefile.am
+++ b/modules/misc/Makefile.am
@@ -54,8 +54,10 @@ endif
 
 libxdg_screensaver_plugin_la_SOURCES = misc/inhibit/xdg.c
 if HAVE_XCB
+if !HAVE_WIN32
 misc_LTLIBRARIES += libxdg_screensaver_plugin.la
 endif
+endif
 
 libdbus_screensaver_plugin_la_SOURCES = misc/inhibit/dbus.c
 libdbus_screensaver_plugin_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)



More information about the vlc-commits mailing list