Files
xrdp/waitforx/Makefile.am
T
matt335672 2a190a2264 Fix regression in opening local display in waitforx
Commit 80fab03198 introduced a way to
prevent waitforx going to the network when trying to open a display,
and hence potentially blocking.

This method turned out to be invalidated by libxcb version 1.16 and
1.17

This change adds an explicit check that the Unix socket for the display
in /tmp/.X11-unix/Xn is open before trying to connect to display ':n'.
This has the same effect.
2024-12-11 11:52:06 +00:00

17 lines
310 B
Makefile

pkglibexec_PROGRAMS = \
waitforx
AM_LDFLAGS = $(X_LIBS) -lX11 -lXrandr
AM_CPPFLAGS = \
-DXRDP_SOCKET_ROOT_PATH=\"${socketdir}\" \
-I$(top_srcdir)/sesman/sesexec \
-I$(top_srcdir)/common
AM_CFLAGS = $(X_CFLAGS)
waitforx_SOURCES = waitforx.c
waitforx_LDADD = \
$(top_builddir)/common/libcommon.la