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:
+2
@@ -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
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user