From 5fd792337b5627f3f4c9af4488591dbb291299d8 Mon Sep 17 00:00:00 2001 From: derwinlu Date: Wed, 8 Feb 2017 18:09:01 +0100 Subject: Add dep_fetch_ln --- core/deps.mk | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'core') diff --git a/core/deps.mk b/core/deps.mk index 2777af5..2c6f6d5 100644 --- a/core/deps.mk +++ b/core/deps.mk @@ -510,6 +510,10 @@ define dep_fetch_cp cp -R $(call dep_repo,$(1)) $(DEPS_DIR)/$(call dep_name,$(1)); endef +define dep_fetch_ln + ln -s $(call dep_repo,$(1)) $(DEPS_DIR)/$(call dep_name,$(1)); +endef + # Hex only has a package version. No need to look in the Erlang.mk packages. define dep_fetch_hex mkdir -p $(ERLANG_MK_TMP)/hex $(DEPS_DIR)/$1; \ -- cgit v1.2.3