libxlsxwriter/third_party/minizip/Makefile in fast_excel-0.2.3 vs libxlsxwriter/third_party/minizip/Makefile in fast_excel-0.2.5

- old
+ new

@@ -7,11 +7,11 @@ Q=@ ifdef V Q= endif -UNAME := $(shell uname) +UNAME := $(shell uname -sr) # Check for MinGW/MinGW64/Cygwin environments. ifneq (,$(findstring MINGW, $(UNAME))) MING_LIKE = y endif @@ -28,9 +28,14 @@ # Change make options on MinGW/MinGW64/Cygwin. ifdef MING_LIKE FPIC = CC = gcc CFLAGS += -DUSE_FILE32API +endif + +# Fix for modified zconf.h on Gentoo. +ifneq (,$(findstring gentoo, $(UNAME))) +CFLAGS += -DOF=_Z_OF endif all: ioapi.o zip.o ioapi.so zip.so %.o : %.c