From: Thomas Petazzoni Date: Sat, 20 Feb 2010 17:23:04 +0000 (+0100) Subject: libpng: enable compilation on the host X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=988b4d8d1cce4187bb0600cebd31dcff7c726056;p=buildroot.git libpng: enable compilation on the host libpng is needed on the host to build ace_of_penguins. Signed-off-by: Thomas Petazzoni --- diff --git a/package/libpng/libpng.mk b/package/libpng/libpng.mk index 1297c89ee8..86e943caa5 100644 --- a/package/libpng/libpng.mk +++ b/package/libpng/libpng.mk @@ -11,7 +11,12 @@ LIBPNG_INSTALL_STAGING = YES LIBPNG_CONF_OPT = --without-libpng-compat LIBPNG_DEPENDENCIES = host-pkg-config zlib +HOST_LIBPNG_LIBTOOL_PATCH = NO +HOST_LIBPNG_CONF_OPT = --without-libpng-compat +HOST_LIBPNG_DEPENDENCIES = host-pkg-config host-zlib + $(eval $(call AUTOTARGETS,package,libpng)) +$(eval $(call AUTOTARGETS,package,libpng,host)) $(LIBPNG_HOOK_POST_INSTALL): $(SED) "s,^prefix=.*,prefix=\'$(STAGING_DIR)/usr\',g" \