summaryrefslogtreecommitdiff
path: root/libxmlsec/xmlsec1-vc10.patch
diff options
context:
space:
mode:
authorJesús Corrius <jesus@softcatala.org>2010-10-20 01:15:54 +0200
committerFridrich Štrba <fridrich.strba@bluewin.ch>2010-10-20 19:17:19 +0200
commit36ad473eeeace151af341869b0436fac8b1bdd2e (patch)
tree9dfdd7e24acf7b686e71ed03db559b2f4050f803 /libxmlsec/xmlsec1-vc10.patch
parentb5de1d11886014f09d2aa73a39ac669bd0641fad (diff)
Build fixes for VC++ 10
Diffstat (limited to 'libxmlsec/xmlsec1-vc10.patch')
-rw-r--r--libxmlsec/xmlsec1-vc10.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/libxmlsec/xmlsec1-vc10.patch b/libxmlsec/xmlsec1-vc10.patch
new file mode 100644
index 000000000000..72a1d2147cde
--- /dev/null
+++ b/libxmlsec/xmlsec1-vc10.patch
@@ -0,0 +1,15 @@
+--- misc/build/xmlsec1-1.2.14/win32/Makefile.msvc.old 2010-10-20 00:49:04.671875000 +0200
++++ misc/build/xmlsec1-1.2.14/win32/Makefile.msvc 2010-10-20 00:49:23.406250000 +0200
+@@ -351,7 +351,11 @@
+ !if "$(DEBUG)" == "1"
+ LDFLAGS = $(LDFLAGS) /DEBUG
+ !else
+-LDFLAGS = $(LDFLAGS) /OPT:NOWIN98
++!if "$(_NMAKE_VER)" >= "10.00.30319.01"
++LDFLAGS = $(LDFLAGS)
++!else
++LDFLAGS = $(LDFLAGS) /OPT:NOWIN98
++!endif
+ !endif
+
+ SOLIBS = $(LIBS) libxml2.lib