浏览代码

DOWNLOAD: don't use := assignment for function implementation

:= causes the function parameters to get evaluated at definition time
instead of implementation time, which is kind of silly for a function.

Fixes make source-check / external-deps
Peter Korsgaard 16 年之前
父节点
当前提交
3e06e4cec6
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      package/Makefile.autotools.in

+ 1 - 1
package/Makefile.autotools.in

@@ -134,7 +134,7 @@ TERM_RESET := $(shell tput rmso)
 
 # support make source-check/external-deps
 ifneq ($(SPIDER),)
-DOWNLOAD:=$(WGET) -P $(DL_DIR) $(1)/$(2)
+DOWNLOAD=$(WGET) -P $(DL_DIR) $(1)/$(2)
 else
 define DOWNLOAD
 	$(Q)test -e $(DL_DIR)/$(2) || \