From 05764d3a94e8643990e0c5d20b736dcfc5819b15 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Fri, 17 Jun 2016 22:13:51 -0400 Subject: fix race condition in Makefile --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 43af046..79b21d6 100644 --- a/Makefile +++ b/Makefile @@ -67,7 +67,7 @@ $(outdir)/.gopath/src: $(golang.var) mkdir $(@D) ln -sr $(topsrcdir)/go $@ touch $@ -$(outdir)/.gopath/bin/cmd-nshd: $(call golang.src,$(outdir)/.gopath) $(_gen) $(_out) +$(outdir)/.gopath/bin/cmd-nshd: $(patsubst $(outdir)/.gopath/src/%,go/%,$(call golang.src,$(outdir)/.gopath)) $(_gen) $(_out) $(call golang.install,$(topoutdir)/.gopath,cmd-nshd) $(outdir)/%.o: $(srcdir)/%.c $(var)CC $(var)CPPFLAGS $(var)CFLAGS -- cgit v1.2.3