]> git.sesse.net Git - ffmpeg/commitdiff
build: Warn that reconfiguration is necessary if version.h files changed
authorDiego Biurrun <diego@biurrun.de>
Sun, 4 Dec 2016 21:01:50 +0000 (22:01 +0100)
committerDiego Biurrun <diego@biurrun.de>
Wed, 7 Dec 2016 10:02:31 +0000 (11:02 +0100)
The library versions are stored in the config.mak file and are used
to derive shared library names.

Makefile

index 5aa2ab4557b1a90ba9befdc816ffa7b3f1379cb6..a7dcb6c53a65c8426c28b506b44adf04de41e69f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -123,13 +123,14 @@ tools/cws2fws$(EXESUF): ELIBS = $(ZLIB)
 
 CONFIGURABLE_COMPONENTS =                                           \
     $(wildcard $(FFLIBS:%=$(SRC_PATH)/lib%/all*.c))                 \
+    $(wildcard $(FFLIBS:%=$(SRC_PATH)/lib%/version.h))              \
     $(SRC_PATH)/libavcodec/bitstream_filters.c                      \
     $(SRC_PATH)/libavformat/protocols.c                             \
 
 config.h: .config
 .config: $(CONFIGURABLE_COMPONENTS)
        @-tput bold 2>/dev/null
-       @-printf '\nWARNING: $(?F) newer than config.h, rerun configure\n\n'
+       @-printf '\nWARNING: $(?) newer than config.h, rerun configure\n\n'
        @-tput sgr0 2>/dev/null
 
 SUBDIR_VARS := CLEANFILES EXAMPLES FFLIBS HOSTPROGS TESTPROGS TOOLS      \