aboutsummaryrefslogtreecommitdiff
path: root/src/odbc
diff options
context:
space:
mode:
Diffstat (limited to 'src/odbc')
-rw-r--r--src/odbc/Makefile.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/odbc/Makefile.in b/src/odbc/Makefile.in
index af2a2463f..777713633 100644
--- a/src/odbc/Makefile.in
+++ b/src/odbc/Makefile.in
@@ -8,9 +8,13 @@ LIBS = @LIBS@ @ERLANG_LIBS@
SUBDIRS =
-
OUTDIR = ..
EFLAGS = -I .. -pz ..
+# make debug=true to compile Erlang module with debug informations.
+ifdef debug
+ EFLAGS+=+debug_info
+endif
+
OBJS = \
$(OUTDIR)/ejabberd_odbc.beam \
$(OUTDIR)/ejabberd_odbc_sup.beam \