Skip to content

Commit

Permalink
Add target for libuv's Makefile, for more efficient rebuilds
Browse files Browse the repository at this point in the history
  • Loading branch information
wch committed Oct 11, 2017
1 parent e6bd654 commit 2da5ed7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Makevars
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,10 @@ PKG_CPPFLAGS = -I./libuv/include -I./http-parser -I./sha1 -I./base64 $(C_VISIBIL

$(SHLIB): libuv/.libs/libuv.a http-parser/http_parser.o sha1/sha1.o base64/base64.o

libuv/.libs/libuv.a:
libuv/Makefile:
(cd libuv && sh autogen.sh && ./configure)

libuv/.libs/libuv.a: libuv/Makefile
$(MAKE) --directory=libuv \
CC="$(CC)" CFLAGS="$(CFLAGS) $(CPICFLAGS) $(C_VISIBILITY)" AR="$(AR)" RANLIB="$(RANLIB)" \
HAVE_DTRACE=0

0 comments on commit 2da5ed7

Please sign in to comment.