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:
parent
5ec51aded3
commit
8e5adddafd
6
Makefile
6
Makefile
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user