Skip to content

Commit 08cbae8

Browse files
lancebordNN708
authored andcommitted
fix: makefile build needs to build in cmd dir
1 parent 24ca414 commit 08cbae8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ all: clean build
99
build: ${BINARY_NAME}
1010

1111
${BINARY_NAME}:
12-
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 ${GO} build -a -tags netgo -ldflags '-w -extldflags "-static"' -o $@
12+
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 ${GO} build -a -tags netgo -ldflags '-w -extldflags "-static"' -o $@ ./cmd
1313

1414
install: build
1515
install -Dm755 ${BINARY_NAME} ${DESTDIR}${PREFIX}/bin/${BINARY_NAME}

0 commit comments

Comments
 (0)