From 37b4a14b5472eaeb1650e915b7b302d1d7d1adf2 Mon Sep 17 00:00:00 2001 From: volth Date: Wed, 4 Jan 2017 12:54:55 +0000 Subject: fix build with --enable-xrdpdebug=yes --- sesman/chansrv/Makefile.am | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'sesman/chansrv/Makefile.am') diff --git a/sesman/chansrv/Makefile.am b/sesman/chansrv/Makefile.am index 7a2672a8..d89b96fb 100644 --- a/sesman/chansrv/Makefile.am +++ b/sesman/chansrv/Makefile.am @@ -11,6 +11,12 @@ AM_CPPFLAGS = \ -DXRDP_PID_PATH=\"${localstatedir}/run\" \ -I$(top_srcdir)/common +if XRDP_DEBUG +AM_CPPFLAGS += -DXRDP_DEBUG +else +AM_CPPFLAGS += -DXRDP_NODEBUG +endif + CHANSRV_EXTRA_LIBS = if XRDP_FUSE -- cgit v1.2.1