diff --git a/avbuild/library.mak b/avbuild/library.mak index 98a100dc7eeb86c5d5ed9d080f99b623b2387e61..81778b7ad1e948361b2d46667b6824c8e13b9222 100644 --- a/avbuild/library.mak +++ b/avbuild/library.mak @@ -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) diff --git a/configure b/configure index d43bd6ee86e6bad8e7cdccb86a196a5831818144..1f220c8befe44058543e45f2a73a19f0341bf468 100755 --- a/configure +++ b/configure @@ -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