summaryrefslogtreecommitdiffstats
path: root/sesman/tools/Makefile.am
diff options
context:
space:
mode:
authorvolth <volth@webmaster.ms>2017-01-04 12:54:55 +0000
committervolth <volth@webmaster.ms>2017-01-04 13:00:01 +0000
commit37b4a14b5472eaeb1650e915b7b302d1d7d1adf2 (patch)
treeded23ed187d26cee7572ac5810a0ee3c64ff25c4 /sesman/tools/Makefile.am
parentcd8b5f00309874686bca943c62d190f82666adef (diff)
downloadxrdp-proprietary-37b4a14b5472eaeb1650e915b7b302d1d7d1adf2.tar.gz
xrdp-proprietary-37b4a14b5472eaeb1650e915b7b302d1d7d1adf2.zip
fix build with --enable-xrdpdebug=yes
Diffstat (limited to 'sesman/tools/Makefile.am')
-rw-r--r--sesman/tools/Makefile.am6
1 files changed, 6 insertions, 0 deletions
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 = \