From: Rob Pike Date: Sun, 19 Jun 2011 05:30:54 +0000 (+1000) Subject: Make.ccmd: another build fix. X-Git-Tag: weekly.2011-06-23~59 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=f22f40532ecfac5eaba9cebe0cbef4efeb9de146;p=gostls13.git Make.ccmd: another build fix. It's sad to think there are environments where compiling against a library isn't enough information for the the linker to decide that you need that library. TBR=jdpoirier R=jdpoirier CC=golang-dev https://golang.org/cl/4646047 --- diff --git a/src/Make.ccmd b/src/Make.ccmd index 0caca04853..f04864ab65 100644 --- a/src/Make.ccmd +++ b/src/Make.ccmd @@ -9,7 +9,7 @@ TARG:=$(TARG).exe endif $(TARG): $(OFILES) $(LIB) - $(HOST_LD) -o $(TARG) -L"$(GOROOT)"/lib $(OFILES) $(LIB) -lmach -lbio -l9 $(HOST_LDFLAGS) + $(HOST_LD) -o $(TARG) -L"$(GOROOT)"/lib $(OFILES) $(LIB) -lmach -lbio -l9 -lm $(HOST_LDFLAGS) $(OFILES): $(HFILES)