http-parser icon indicating copy to clipboard operation
http-parser copied to clipboard

Makefile is broken for OS X

Open rnburn opened this issue 8 years ago • 1 comments

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

rnburn avatar Aug 18 '17 16:08 rnburn

see #348 and my own #321

ploxiln avatar Aug 18 '17 17:08 ploxiln