summaryrefslogtreecommitdiffstats
path: root/common/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'common/Makefile.am')
-rw-r--r--common/Makefile.am6
1 files changed, 6 insertions, 0 deletions
diff --git a/common/Makefile.am b/common/Makefile.am
index 1bc5851f..15466c9a 100644
--- a/common/Makefile.am
+++ b/common/Makefile.am
@@ -18,6 +18,12 @@ AM_CPPFLAGS = \
-DXRDP_PID_PATH=\"${localstatedir}/run\" \
-DXRDP_LOG_PATH=\"${localstatedir}/log\"
+if XRDP_DEBUG
+AM_CPPFLAGS += -DXRDP_DEBUG
+else
+AM_CPPFLAGS += -DXRDP_NODEBUG
+endif
+
AM_CFLAGS = $(OPENSSL_CFLAGS)
module_LTLIBRARIES = \