http-parser
http-parser copied to clipboard
Making it easier to build it for OpenIndiana
Hello,
I tried packaging this library for OpenIndiana. Would it be possible for you to have the following changes to the Makefile?
- Change
LIBDIR = $(PREFIX)/libtoLIBDIR ?= $(PREFIX)/libso that LIBDIR could be re-defined externally. - Change both lines
ln -s $(LIBDIR)/$(SONAME) $(LIBDIR)/libhttp_parser.$(SOEXT)toln -s $(SONAME) $(LIBDIR)/libhttp_parser.$(SOEXT)so that relative paths are used for symbolic links.
Thank you.
LIBDIR and INCLUDEDIR are overridable w/o any change: make LIBDIR=foo INCLUDEDIR=bar. = gives precedence to make's operands, ?= gives precedence to operands and environment.
i support the second point.