summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-02-20 18:23:04 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-02-23 20:33:42 +0100
commit988b4d8d1cce4187bb0600cebd31dcff7c726056 (patch)
tree0e746a8e794f128b70abbcba4e61eface23a77bb /package
parentc1b6242fdcf2cff7ebf09fec4cc1be58963e8427 (diff)
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>
Diffstat (limited to 'package')
-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 1297c89ee..86e943caa 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" \