
Without this, the compilation of waitforx can fail on FreeBSD with this error:- waitforx.c:1:10: fatal error: 'X11/extensions/Xrandr.h' file not found This PR makes the use of AM_CPPFLAGS and AM_CFLAGS the same as that for (e.g.) chansrv which also depends on X includes
14 lines
224 B
Makefile
14 lines
224 B
Makefile
bin_PROGRAMS = \
|
|
xrdp-waitforx
|
|
|
|
AM_LDFLAGS = -lX11 -lXrandr
|
|
|
|
AM_CPPFLAGS = -I$(top_srcdir)/common
|
|
|
|
AM_CFLAGS = $(X_CFLAGS)
|
|
|
|
xrdp_waitforx_SOURCES = waitforx.c
|
|
|
|
xrdp_waitforx_LDADD = \
|
|
$(top_builddir)/common/libcommon.la
|