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>
This commit is contained in:
parent
c1b6242fdc
commit
988b4d8d1c
@ -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" \
|
||||
|
Loading…
Reference in New Issue
Block a user