[vlc-devel] [PATCH] contrib: libxml2: don't disable debug in debug builds
Steve Lhomme
robux4 at videolabs.io
Wed Oct 26 17:40:43 CEST 2016
---
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 e045206..81cfeff 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
--
2.8.2
More information about the vlc-devel
mailing list