Skip to content

Instantly share code, notes, and snippets.

@nalimilan
Last active December 30, 2015 17:49
Show Gist options
  • Save nalimilan/7863923 to your computer and use it in GitHub Desktop.
Save nalimilan/7863923 to your computer and use it in GitHub Desktop.
--- a/deps/Makefile 2013-11-30 15:23:26.387689253 +0100
+++ b/deps/Makefile 2013-12-06 17:58:34.800112867 +0100
@@ -439,14 +439,11 @@
UV_OBJ_TARGET = $(BUILD)/$(JL_LIBDIR)/libuv.a
endif
-libuv/configure:
- (cd .. && git submodule init && git submodule update)
-ifeq (exists, $(shell [ -d libuv/.git ] && echo exists ))
-libuv/config.status: libuv/.git/HEAD
-endif
-ifeq (exists, $(shell [ -d $(JULIAHOME)/.git/modules/deps/libuv ] && echo exists ))
-libuv/config.status: $(JULIAHOME)/.git/modules/deps/libuv/HEAD
-endif
+libuv.tar.gz:
+ touch -c $@
+libuv/configure: libuv.tar.gz
+ tar -C libuv --strip-components 1 -xf $<
+ touch -c $@
libuv/config.status: libuv/configure
cd libuv && \
./configure --with-pic $(CONFIGURE_COMMON) --disable-silent-rules
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment