diff options
author | Anton Khirnov <anton@khirnov.net> | 2016-10-19 07:28:06 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2016-10-21 10:11:36 +0200 |
commit | 7c9e2b295e4f70e8fedf9cceb12d95399a859a9c (patch) | |
tree | 36d4cfcc975a29291fc7ca5e04dd6f9d869dbb38 | |
parent | 59c90097a0eff0dc81fbec15b8900c929859d1e7 (diff) | |
download | ffmpeg-7c9e2b295e4f70e8fedf9cceb12d95399a859a9c.tar.gz |
Makefile: fix checking whether reconfiguring is required
It didn't take into account the new pattern used for bitstream filters
and protocols.
-rw-r--r-- | Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -121,8 +121,13 @@ $(TOOLS): %$(EXESUF): %.o $(EXEOBJS) tools/cws2fws$(EXESUF): ELIBS = $(ZLIB) +CONFIGURABLE_COMPONENTS = \ + $(wildcard $(FFLIBS:%=$(SRC_PATH)/lib%/all*.c)) \ + $(SRC_PATH)/libavcodec/bitstream_filters.c \ + $(SRC_PATH)/libavformat/protocols.c \ + config.h: .config -.config: $(wildcard $(FFLIBS:%=$(SRC_PATH)/lib%/all*.c)) +.config: $(CONFIGURABLE_COMPONENTS) @-tput bold 2>/dev/null @-printf '\nWARNING: $(?F) newer than config.h, rerun configure\n\n' @-tput sgr0 2>/dev/null |