[FFmpeg-cvslog] build: Hardcode avversion.h dependency

Diego Biurrun git at videolan.org
Fri Mar 24 14:12:54 EET 2017


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Sun Oct 16 08:49:40 2016 +0200| [14cab426b03afd08bc9fe9b6e021a9543c4bdd7e] | committer: Diego Biurrun

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.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=14cab426b03afd08bc9fe9b6e021a9543c4bdd7e
---

 Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Makefile b/Makefile
index e860f2c..82e0371 100644
--- a/Makefile
+++ b/Makefile
@@ -180,6 +180,7 @@ GIT_LOG     = $(SRC_PATH)/.git/logs/HEAD
 .version: $(wildcard $(GIT_LOG)) $(VERSION_SH) config.mak
 .version: M=@
 
+cmdutils.o libavutil/utils.o: avversion.h
 avversion.h .version:
 	$(M)$(VERSION_SH) $(SRC_PATH) avversion.h $(EXTRA_VERSION)
 	$(Q)touch .version



More information about the ffmpeg-cvslog mailing list