http-parser
http-parser copied to clipboard
Makefile is broken for OS X
If you try to install on OS X, you'll get this error
cc -I. -DHTTP_PARSER_STRICT=0 -Wall -Wextra -Werror -O3 -fPIC -c http_parser.c -o libhttp_parser.o
cc -shared -o libhttp_parser.2.7.1.dylib libhttp_parser.o
install -D http_parser.h /usr/local/include/http_parser.h
install: illegal option -- D
usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
[-o owner] file1 file2
install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
[-o owner] file1 ... fileN directory
install -d [-v] [-g group] [-m mode] [-o owner] directory ...
make: *** [install] Error 64
see #348 and my own #321