Bug 569475 - Fix qcms linking failure on mingw-w64. r=jmuizelaar
authorJacek Caban <jacek@codeweavers.com>
Mon, 07 Jun 2010 10:16:22 +0200
changeset 43381 0960840503a2d107c275451ca0e303dd6900f3f6
parent 43380 6b577ad668cf1c595066dc8857ba579a6a809275
child 43382 f2070673fdbc75838928f6d81563bf0cd2a29468
push id1
push userroot
push dateMon, 20 Oct 2014 17:29:22 +0000
reviewersjmuizelaar
bugs569475
milestone1.9.3a5pre
Bug 569475 - Fix qcms linking failure on mingw-w64. r=jmuizelaar
gfx/qcms/Makefile.in
--- a/gfx/qcms/Makefile.in
+++ b/gfx/qcms/Makefile.in
@@ -11,20 +11,23 @@ LIBXUL_LIBRARY = 1
 GRE_MODULE      = 1
 DIST_INSTALL = 1
 
 EXPORTS      = qcms.h qcmstypes.h
 
 CSRCS = iccread.c transform.c
 
 ifeq (86,$(findstring 86,$(OS_TEST)))
-ifeq ($(OS_ARCH)_$(OS_TEST),WINNT_x86_64)
-	CSRCS += transform-sse2.c
+CSRCS += transform-sse2.c
+ifdef _MSC_VER
+ifneq ($(OS_ARCH)_$(OS_TEST),WINNT_x86_64)
+	CSRCS += transform-sse1.c
+endif
 else
-	CSRCS += transform-sse2.c transform-sse1.c
+	CSRCS += transform-sse1.c
 ifdef GNU_CC
 	SSE1_FLAGS=-msse
 	SSE2_FLAGS=-msse2
 else
 ifeq ($(SOLARIS_SUNPRO_CC),1)
 ifneq (64,$(findstring 64,$(OS_TEST)))
 	SSE1_FLAGS=-xarch=sse
 	SSE2_FLAGS=-xarch=sse2