commit 4b0c807c9670926c88ce8c654f0800cd9d910e60
parent 508505405b197bf5bd873ac10e7c4c6a6d3316aa
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Tue, 15 Oct 2024 15:04:00 +0200
libcyaml: correction of the installed pc file
The pc file of the libcyaml project was not regenerated at each
installation. As a result, when the PREFIX macro is defined on make
invokation, the pc file is not updated accordingly, and therefore
contains incorrect paths. This is a libcyaml problem that this commit
gets around by deleting the pc file each time make is run, thus forcing
it to be regenerated.
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/libcyaml.mk.in b/src/libcyaml.mk.in
@@ -25,6 +25,7 @@ LIBCYAML_DIR=$(CACHE)/libcyaml/$(LIBCYAML_TAG)
libcyaml: build_libcyaml
@prefix="$$(cat .prefix)" && \
cd -- "$(LIBCYAML_DIR)" && \
+ find . -name "libcyaml.pc" -exec rm -f {} + && \
$(MAKE) PREFIX="$${prefix}" install
build_libcyaml: $(LIBCYAML_DIR)