[vlc-commits] contrib: libxml2: don't disable debug in debug builds

Steve Lhomme git at videolan.org
Thu Oct 27 13:22:28 CEST 2016


vlc | branch: master | Steve Lhomme <robux4 at videolabs.io> | Wed Oct 26 17:40:43 2016 +0200| [34c3e20835d8ab724e93b7baa3f22ade0b63515e] | committer: Rémi Denis-Courmont

contrib: libxml2: don't disable debug in debug builds

Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=34c3e20835d8ab724e93b7baa3f22ade0b63515e
---

 contrib/src/libxml2/rules.mak | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/contrib/src/libxml2/rules.mak b/contrib/src/libxml2/rules.mak
index 5ace4cf..d0cba8c 100644
--- a/contrib/src/libxml2/rules.mak
+++ b/contrib/src/libxml2/rules.mak
@@ -27,11 +27,14 @@ XMLCONF = --with-minimal     \
           --without-iconv    \
           --without-http     \
           --without-ftp      \
-          --without-debug    \
           --without-docbook  \
           --without-regexps  \
           --without-python
 
+ifdef WITH_OPTIMIZATION
+XMLCONF+= --without-debug
+endif
+
 libxml2: libxml2-$(LIBXML2_VERSION).tar.gz .sum-libxml2
 	$(UNPACK)
 	$(APPLY) $(SRC)/libxml2/no-tests.patch



More information about the vlc-commits mailing list