Don’t print to stderr unless a standalone binary

We will use woff2 code from OTS and it is undesirable for a library to
print messages to stderr.
This commit is contained in:
Khaled Hosny
2015-08-28 01:19:56 +02:00
parent eeec219f20
commit 17ed658d0a
4 changed files with 34 additions and 12 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ CPPFLAGS = -I./brotli/dec/ -I./brotli/enc/ -I./src
CC ?= gcc
CXX ?= g++
COMMON_FLAGS = -fno-omit-frame-pointer -no-canonical-prefixes
COMMON_FLAGS = -fno-omit-frame-pointer -no-canonical-prefixes -DFONT_COMPRESSION_BIN
ifeq ($(OS), Darwin)
CPPFLAGS += -DOS_MACOSX