From 2da5ed738b1863894b09a0c5c2c3d9034866cdc9 Mon Sep 17 00:00:00 2001 From: Winston Chang Date: Wed, 11 Oct 2017 16:18:27 -0500 Subject: [PATCH] Add target for libuv's Makefile, for more efficient rebuilds --- src/Makevars | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Makevars b/src/Makevars index f647227e..fcfc71ca 100644 --- a/src/Makevars +++ b/src/Makevars @@ -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