create dummy pkgconfig file for internal libpng

Change-Id: Ic2d58898c804d1fea1959a94aafdd14afd19e0b5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/191516
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
This commit is contained in:
Caolán McNamara
2025-09-26 20:25:03 +02:00
parent 9e10522c1e
commit e2a855623d
2 changed files with 7 additions and 0 deletions
+2
View File
@@ -69,4 +69,6 @@ endif
endif
endif
$(call gb_StaticLibrary_get_target,libpng): $(gb_UnpackedTarball_workdir)/libpng/libpng-uninstalled.pc
# vim: set noet sw=4 ts=4:
+5
View File
@@ -15,4 +15,9 @@ $(eval $(call gb_UnpackedTarball_add_files,libpng,.,\
external/libpng/configs/pnglibconf.h \
))
# cannot use post_action since $(file ..) would be run when the recipe is parsed, i.e. would always
# happen before the tarball is unpacked
$(gb_UnpackedTarball_workdir)/libpng/libpng-uninstalled.pc: $(call gb_UnpackedTarball_get_target,libpng)
$(file >$@,$(call gb_pkgconfig_file,libpng,1.6.50,$(LIBPNG_CFLAGS),$(LIBPNG_LIBS)))
# vim: set noet sw=4 ts=4: