You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
build: Hardcode avversion.h dependency
Since avversion.h is a generated header it must be created before dependencies can be determined as a side effect of compilation. Otherwise Make stops and restarts the build process to generate avversion.h and produces related error messages.
This commit is contained in:
1
Makefile
1
Makefile
@@ -180,6 +180,7 @@ GIT_LOG = $(SRC_PATH)/.git/logs/HEAD
|
|||||||
.version: $(wildcard $(GIT_LOG)) $(VERSION_SH) config.mak
|
.version: $(wildcard $(GIT_LOG)) $(VERSION_SH) config.mak
|
||||||
.version: M=@
|
.version: M=@
|
||||||
|
|
||||||
|
cmdutils.o libavutil/utils.o: avversion.h
|
||||||
avversion.h .version:
|
avversion.h .version:
|
||||||
$(M)$(VERSION_SH) $(SRC_PATH) avversion.h $(EXTRA_VERSION)
|
$(M)$(VERSION_SH) $(SRC_PATH) avversion.h $(EXTRA_VERSION)
|
||||||
$(Q)touch .version
|
$(Q)touch .version
|
||||||
|
Reference in New Issue
Block a user