google / google/woff2

Compile issue with Cygwin

Open
#33 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
1.8k
Forks
228
PR merge metrics
No merged PRs in 30d

Description

Compiling the referenced version of brotli did not succeed on Cygwin. I used the following workaround:

diff --git a/enc/Makefile b/enc/Makefile
index 7408d8a..1cf8b52 100644
--- a/enc/Makefile
+++ b/enc/Makefile
@@ -2,6 +2,12 @@

include ../shared.mk

+OSO := $(shell uname -o)
+
+ifeq ($(OSO), Cygwin)
- ```
CXXFLAGS += -include cstdlib
```

+endif
+

OBJS = backward_references.o block_splitter.o brotli_bit_stream.o encode.o encode_parallel.o entropy_encode.o histogram.o literal_cost.o metablock.o static_dict.o streams.o

all : $(OBJS)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.