diff options
Diffstat (limited to 'libpng')
-rw-r--r-- | libpng/ExternalPackage_libpng.mk (renamed from libpng/Package_libpng.mk) | 6 | ||||
-rw-r--r-- | libpng/Module_libpng.mk | 2 |
2 files changed, 3 insertions, 5 deletions
diff --git a/libpng/Package_libpng.mk b/libpng/ExternalPackage_libpng.mk index 0bda07dcf6bd..6fb731da2b4c 100644 --- a/libpng/Package_libpng.mk +++ b/libpng/ExternalPackage_libpng.mk @@ -7,11 +7,9 @@ # file, You can obtain one at http://mozilla.org/MPL/2.0/. # -$(eval $(call gb_Package_Package,libpng_inc,$(call gb_UnpackedTarball_get_dir,png))) +$(eval $(call gb_ExternalPackage_ExternalPackage,libpng_inc,png)) -$(eval $(call gb_Package_use_unpacked,libpng_inc,png)) - -$(eval $(call gb_Package_add_files,libpng_inc,inc/external/libpng,\ +$(eval $(call gb_ExternalPackage_add_unpacked_files,libpng_inc,inc/external/libpng,\ png.h \ pngconf.h \ pnglibconf.h \ diff --git a/libpng/Module_libpng.mk b/libpng/Module_libpng.mk index a3ecb7baef64..6ee8e4cf4d58 100644 --- a/libpng/Module_libpng.mk +++ b/libpng/Module_libpng.mk @@ -12,7 +12,7 @@ $(eval $(call gb_Module_Module,libpng)) ifeq ($(SYSTEM_LIBPNG),NO) $(eval $(call gb_Module_add_targets,libpng,\ - Package_libpng \ + ExternalPackage_libpng \ StaticLibrary_png \ UnpackedTarball_png \ )) |