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/tools/Makefile.am | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'sesman/tools') diff --git a/sesman/tools/Makefile.am b/sesman/tools/Makefile.am index 44bf068b..7f27f8b1 100644 --- a/sesman/tools/Makefile.am +++ b/sesman/tools/Makefile.am @@ -7,6 +7,12 @@ AM_CPPFLAGS = \ -I$(top_srcdir)/sesman/libscp \ -I$(top_srcdir)/sesman +if XRDP_DEBUG +AM_CPPFLAGS += -DXRDP_DEBUG +else +AM_CPPFLAGS += -DXRDP_NODEBUG +endif + AM_CFLAGS = $(X_CFLAGS) bin_PROGRAMS = \ -- cgit v1.2.1