fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / external / libxslt / libxslt-vc10.patch
blob0a896fa461113724e2e286777f225d769ed64a4f
1 --- build/libxslt-1.1.26/win32/Makefile.msvc.old 2010-10-20 01:02:55.359375000 +0200
2 +++ build/libxslt-1.1.26/win32/Makefile.msvc 2010-10-20 01:03:05.187500000 +0200
3 @@ -54,6 +54,7 @@
4 CFLAGS = /nologo /D "WIN32" /D "_WINDOWS" /D "_MBCS" /W3 $(CRUNTIME) /D "_REENTRANT"
5 CFLAGS = $(CFLAGS) /I$(BASEDIR) /I$(XSLT_SRCDIR) /I$(INCPREFIX)
6 CFLAGS = $(CFLAGS) /D_CRT_SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE
7 +CFLAGS = $(CFLAGS) -arch:SSE $(SOLARINC) -I$(WORKDIR)\UnpackedTarball\xml2\include -I$(WORKDIR)/UnpackedTarball/icu/source/i18n -I$(WORKDIR)/UnpackedTarball/icu/source/common
9 # The linker and its options.
10 LD = link.exe
11 @@ -71,8 +71,12 @@
12 LDFLAGS = $(LDFLAGS) /DEBUG
13 !else
14 CFLAGS = $(CFLAGS) /D "NDEBUG" /O2
15 +!if "$(_NMAKE_VER)" >= "10.00.30319.01"
16 +LDFLAGS = $(LDFLAGS)
17 +!else
18 LDFLAGS = $(LDFLAGS) /OPT:NOWIN98
19 !endif
20 +!endif
22 # Libxslt object files.
23 XSLT_OBJS = $(XSLT_INTDIR)\attributes.obj\