Makefile: fix tools-linux target for non-GNU tar

`tar` on macOS has no `--strip-components=1`.

No actual functional changes.
This commit is contained in:
Sybren A. Stüvel 2025-08-04 10:55:16 +02:00
parent 5ec51aded3
commit 8e5adddafd

View File

@ -216,9 +216,9 @@ tools-linux:
https://www.johnvansickle.com/ffmpeg/releases/ffmpeg-$(FFMPEG_VERSION)-amd64-static.tar.xz https://www.johnvansickle.com/ffmpeg/releases/ffmpeg-$(FFMPEG_VERSION)-amd64-static.tar.xz
tar xvf \ tar xvf \
$(FFMPEG_PACKAGE_LINUX) \ $(FFMPEG_PACKAGE_LINUX) \
ffmpeg-$(FFMPEG_VERSION)-amd64-static/ffmpeg \ ffmpeg-$(FFMPEG_VERSION)-amd64-static/ffmpeg
--strip-components=1 mv ffmpeg-$(FFMPEG_VERSION)-amd64-static/ffmpeg $(TOOLS)/ffmpeg-linux-amd64
mv ffmpeg $(TOOLS)/ffmpeg-linux-amd64 rmdir ffmpeg-$(FFMPEG_VERSION)-amd64-static
.PHONY: tools-darwin .PHONY: tools-darwin
tools-darwin: tools-darwin: