changeset 3071:d11e7f8eab5e

[MSVC] enable bzip2 compilation
author Michael Goffioul <michael.goffioul@gmail.com>
date Fri, 21 Jun 2013 09:42:47 -0400
parents d89eccc2edd3
children 050e922d4003
files src/bzip2.mk
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/bzip2.mk	Fri Jun 21 09:42:47 2013 -0400
+++ b/src/bzip2.mk	Fri Jun 21 09:42:47 2013 -0400
@@ -16,7 +16,7 @@
     head -1
 endef
 
-ifeq ($(MXE_SYSTEM),mingw)
+ifneq ($(filter mingw msvc,$(MXE_SYSTEM)),)
 define $(PKG)_BUILD
     $(SED) -i 's,sys\\stat\.h,sys/stat.h,g' '$(1)/bzip2.c'
     $(SED) -i 's,WINAPI,,g'                 '$(1)/bzlib.h'