Skip to content

Commit

Permalink
Update Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
hmgle committed Nov 27, 2021
1 parent 7d5b413 commit 24a597f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion local/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ graftcp-local: $(wildcard *.go cmd/graftcp-local/*.go)
${GO_BUILD_PREFIX_FLAGS} go build -ldflags "-s -w -X main.version=${VERSION}" ./cmd/graftcp-local

mgraftcp: $(wildcard *.go cmd/mgraftcp/*.go) ../libgraftcp.a
${GO_BUILD_PREFIX_FLAGS} ${CGO_FLAGS} go build -ldflags "-s -w -X main.version=${VERSION}" ./cmd/mgraftcp
${GO_BUILD_PREFIX_FLAGS} ${CGO_FLAGS} go build -ldflags "-s -w -X main.version=${VERSION}" -ldflags '-linkmode "external" -extldflags "-static"' ./cmd/mgraftcp

../libgraftcp.a:
$(MAKE) -C .. libgraftcp.a
Expand Down

0 comments on commit 24a597f

Please sign in to comment.