aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2016-10-16 08:49:40 +0200
committerDiego Biurrun <diego@biurrun.de>2016-10-27 11:54:06 +0200
commit14cab426b03afd08bc9fe9b6e021a9543c4bdd7e (patch)
treea6ef7f176f6c87f8724d4e045c1bf000e88d1e34 /Makefile
parentf22363c72968f1a1fc4881d8695ec7068b0aa03c (diff)
downloadffmpeg-14cab426b03afd08bc9fe9b6e021a9543c4bdd7e.tar.gz
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.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index e860f2c728..82e037103f 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