Skip to content
Snippets Groups Projects
Commit 540576d5 authored by Adrien Béraud's avatar Adrien Béraud
Browse files

http-parser: create include directory if necessary

Change-Id: If293ca93434f5e53dd3bc968ea81e218ccfb9651
parent 9d76cf5c
No related branches found
No related tags found
No related merge requests found
...@@ -21,6 +21,7 @@ http_parser: http-parser-$(HTTP_PARSER_VERSION).tar.gz ...@@ -21,6 +21,7 @@ http_parser: http-parser-$(HTTP_PARSER_VERSION).tar.gz
.http_parser: http_parser toolchain.cmake .sum-http_parser .http_parser: http_parser toolchain.cmake .sum-http_parser
cd $< && $(HOSTVARS) $(MAKE) $(HTTP_PARSER_MAKECONF) package cd $< && $(HOSTVARS) $(MAKE) $(HTTP_PARSER_MAKECONF) package
mkdir -p $(PREFIX)/include
mkdir -p $(PREFIX)/lib mkdir -p $(PREFIX)/lib
cd $< && cp -f http_parser.h $(PREFIX)/include && cp -f libhttp_parser.a $(PREFIX)/lib cd $< && cp -f http_parser.h $(PREFIX)/include && cp -f libhttp_parser.a $(PREFIX)/lib
touch $@ touch $@
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment