summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--make-linux.mk12
1 files 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,