From 4d071081bb86d2ab8d9f7d391506a9752b713636 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Thu, 19 Jan 2017 15:22:43 -0800 Subject: docs --- make-linux.mk | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/make-linux.mk b/make-linux.mk index 5121d604..9a37856e 100644 --- a/make-linux.mk +++ b/make-linux.mk @@ -14,16 +14,8 @@ DESTDIR?= include objects.mk -# Used to auto-detect these and use them if dev headers were present, but stopped -# since it caused too many damn problems. The http-parser library in particular -# is basically broken between versions. Fark the Debian policies about including -# libraries. It's better if things work. -#ifeq ($(wildcard /usr/include/http_parser.h),) -# OBJS+=ext/http-parser/http_parser.o -#else -# LDLIBS+=-lhttp_parser -# DEFS+=-DZT_USE_SYSTEM_HTTP_PARSER -#endif +# Use bundled http-parser since distribution versions are NOT API-stable or compatible! +# Trying to use dynamically linked libhttp-parser causes tons of compatibility problems. OBJS+=ext/http-parser/http_parser.o # Auto-detect miniupnpc and nat-pmp as well and use system libs if present, -- cgit v1.2.3