[libxml2] Fix MSVC build with lzma



commit fc27759d2a5984ecf7a0d3183cafa4e828125ac6
Author: Nick Wellnhofer <wellnhofer aevum de>
Date:   Tue Nov 6 10:17:35 2018 +0100

    Fix MSVC build with lzma

 win32/Makefile.msvc | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/win32/Makefile.msvc b/win32/Makefile.msvc
index 491dc880..ee4250af 100644
--- a/win32/Makefile.msvc
+++ b/win32/Makefile.msvc
@@ -244,6 +244,12 @@ XML_OBJS_A_DLL = $(XML_INTDIR_A_DLL)\buf.obj\
        $(XML_INTDIR_A_DLL)\xpointer.obj\
        $(XML_INTDIR_A_DLL)\xmlstring.obj
 
+!if "$(WITH_LZMA)" == "1"
+XML_OBJS = $(XML_OBJS) $(XML_INTDIR)\xzlib.obj
+XML_OBJS_A = $(XML_OBJS_A) $(XML_INTDIR_A)\xzlib.obj
+XML_OBJS_A_DLL = $(XML_OBJS_A_DLL) $(XML_INTDIR_A_DLL)\xzlib.obj
+!endif
+
 # Xmllint and friends executables.
 UTILS = $(BINDIR)\xmllint.exe\
        $(BINDIR)\xmlcatalog.exe\


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]