mirror of https://git.ffmpeg.org/ffmpeg.git
build: Add missing config.sh dependency for pkg-config files
Also only update config.sh when it changed to avoid spurious rebuilds.
This commit is contained in:
parent
7ebe7e8e7a
commit
17b6c7efb4
|
@ -39,7 +39,7 @@ $(TESTPROGS) $(TOOLS): %$(EXESUF): %.o
|
|||
$(SUBDIR)lib$(NAME).version: $(SUBDIR)version.h | $(SUBDIR)
|
||||
$$(M) $$(SRC_PATH)/avbuild/libversion.sh $(NAME) $$< > $$@
|
||||
|
||||
$(SUBDIR)lib$(NAME).pc: $(SUBDIR)version.h | $(SUBDIR)
|
||||
$(SUBDIR)lib$(NAME).pc: $(SUBDIR)version.h avbuild/config.sh | $(SUBDIR)
|
||||
$$(M) $$(SRC_PATH)/avbuild/pkgconfig_generate.sh $(NAME) "$(DESC)"
|
||||
|
||||
$(SUBDIR)lib$(NAME).ver: $(SUBDIR)lib$(NAME).v $(OBJS)
|
||||
|
|
|
@ -5385,7 +5385,7 @@ print_enabled_components libavformat/protocol_list.c URLProtocol url_protocols $
|
|||
|
||||
# Settings for pkg-config files
|
||||
|
||||
cat > avbuild/config.sh <<EOF
|
||||
cat > $TMPH <<EOF
|
||||
# Automatically generated by configure - do not modify!
|
||||
shared=$shared
|
||||
prefix=$prefix
|
||||
|
@ -5407,3 +5407,5 @@ for lib in $LIBRARY_LIST; do
|
|||
lib_deps="$(eval echo \$${lib}_deps)"
|
||||
echo ${lib}_deps=\"$lib_deps\" >> avbuild/config.sh
|
||||
done
|
||||
|
||||
cp_if_changed $TMPH avbuild/config.sh
|
||||
|
|
Loading…
Reference in New Issue