summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2017-01-19 15:22:43 -0800
committerAdam Ierymenko <adam.ierymenko@gmail.com>2017-01-19 15:22:43 -0800
commit4d071081bb86d2ab8d9f7d391506a9752b713636 (patch)
tree21366ee9b39d777b17ff22fe21ce50c602d2b0ae
parentb67b370dba5ab69edefc05635cfe92e778479ed4 (diff)
downloadinfinitytier-4d071081bb86d2ab8d9f7d391506a9752b713636.tar.gz
infinitytier-4d071081bb86d2ab8d9f7d391506a9752b713636.zip
docs
-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,