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/Makefile.am | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'sesman/Makefile.am') diff --git a/sesman/Makefile.am b/sesman/Makefile.am index 89b99f54..0cf419da 100644 --- a/sesman/Makefile.am +++ b/sesman/Makefile.am @@ -9,6 +9,12 @@ AM_CPPFLAGS = \ -I$(top_srcdir)/common \ -I$(top_srcdir)/sesman/libscp +if XRDP_DEBUG +AM_CPPFLAGS += -DXRDP_DEBUG +else +AM_CPPFLAGS += -DXRDP_NODEBUG +endif + if SESMAN_NOPAM AUTH_C = verify_user.c AUTH_LIB = -lcrypt -- cgit v1.2.1