1--- misc/xmlsec1-1.2.14/win32/Makefile.msvc 2+++ misc/build/xmlsec1-1.2.14/win32/Makefile.msvc 3@@ -349,11 +349,17 @@ 4 5 # Optimisation and debug symbols. 6 !if "$(DEBUG)" == "1" 7 LDFLAGS = $(LDFLAGS) /DEBUG 8 !else 9+# /OPT:NOWIN98 stopped the linker padding sections for Windows 9x. It was 10+# removed from link.exe after VS2008 and is now a hard error (LNK1117), so 11+# a toolset that has no such option passes WIN98COMPAT=0. Undefined means 12+# "keep it", which is what every pre-existing caller gets. 13+!if "$(WIN98COMPAT)" != "0" 14 LDFLAGS = $(LDFLAGS) /OPT:NOWIN98 15+!endif 16 !endif 17 18 SOLIBS = $(LIBS) libxml2.lib 19 ALIBS = $(LIBS) libxml2_a.lib 20 21