summaryrefslogtreecommitdiff
path: root/libxml2
diff options
context:
space:
mode:
authorCédric Bosdonnat <cedricbosdo@openoffice.org>2010-12-07 21:59:24 +0100
committerCédric Bosdonnat <cedricbosdo@openoffice.org>2010-12-07 21:59:24 +0100
commit2d94124b1243a8cec416b6e8946db9d14806cc2c (patch)
tree7d843de0b393dca7bf834d66c67718abf90abda4 /libxml2
parent7e12e4543a0883317eef03af395d3cd370915ef4 (diff)
Actually build internal libxml2 with debug symbols in debug builds
Diffstat (limited to 'libxml2')
-rw-r--r--libxml2/makefile.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/libxml2/makefile.mk b/libxml2/makefile.mk
index 0c69c36b74a5..c54d00e6f800 100644
--- a/libxml2/makefile.mk
+++ b/libxml2/makefile.mk
@@ -106,6 +106,9 @@ CONFIGURE_FLAGS=--enable-ipv6=no --without-python --without-zlib --enable-shared
BUILD_ACTION=$(GNUMAKE)
BUILD_FLAGS+= -j$(EXTMAXPROCESS)
BUILD_DIR=$(CONFIGURE_DIR)
+.IF "$(debug)"!=""
+CONFIGURE_FLAGS+=--with-mem-debug --with-run-debug
+.ENDIF
.ENDIF