summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-02-20 17:23:04 (GMT)
committer Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-02-23 19:33:42 (GMT)
commit988b4d8d1cce4187bb0600cebd31dcff7c726056 (patch)
tree0e746a8e794f128b70abbcba4e61eface23a77bb
parentc1b6242fdcf2cff7ebf09fec4cc1be58963e8427 (diff)
downloadbuildroot-988b4d8d1cce4187bb0600cebd31dcff7c726056.tar.gz
buildroot-988b4d8d1cce4187bb0600cebd31dcff7c726056.tar.bz2
libpng: enable compilation on the host
libpng is needed on the host to build ace_of_penguins. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/libpng/libpng.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/libpng/libpng.mk b/package/libpng/libpng.mk
index 1297c89..86e943c 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" \