1
0
mirror of https://github.com/containers/podman.git synced 2026-02-05 06:45:31 +01:00

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 <pholzing@redhat.com>
This commit is contained in:
Paul Holzinger
2025-09-03 12:07:47 +02:00
parent b62f887fbd
commit 5c810ea1c8

View File

@@ -484,7 +484,7 @@ generate-bindings: .install.golangci-lint
# Do the cross build with the OS/ARCH extrcted from the target name, i.e.
# pass a path like "podman.cross.linux.amd64". This target is used by
# local-cross to build all CROSS_BUILD_TARGETS.
bin/podman.cross.%:
bin/podman.cross.%: $(SOURCES)
TARGET="$*"; \
GOOS="$${TARGET%%.*}"; \
GOARCH="$${TARGET##*.}"; \