Skip to content

Commit 5c810ea

Browse files
committed
Makefile: add SOURCES dep to bin/podman.cross.% target
Without this the corss binaries will never get rebuild until the user manually deletes them which is not very useful. Signed-off-by: Paul Holzinger <[email protected]>
1 parent b62f887 commit 5c810ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ generate-bindings: .install.golangci-lint
484484
# Do the cross build with the OS/ARCH extrcted from the target name, i.e.
485485
# pass a path like "podman.cross.linux.amd64". This target is used by
486486
# local-cross to build all CROSS_BUILD_TARGETS.
487-
bin/podman.cross.%:
487+
bin/podman.cross.%: $(SOURCES)
488488
TARGET="$*"; \
489489
GOOS="$${TARGET%%.*}"; \
490490
GOARCH="$${TARGET##*.}"; \

0 commit comments

Comments
 (0)