freetype: fix cross build (v2).
This commit is contained in:
parent
0977025822
commit
790dc35198
|
@ -5,7 +5,7 @@ revision=1
|
|||
patch_args="-Np1"
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="pkg-config which"
|
||||
makedepends="zlib-devel libpng-devel"
|
||||
makedepends="zlib-devel bzip2-devel libpng-devel"
|
||||
short_desc="Font rendering engine and library API"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
homepage="http://www.freetype.org/"
|
||||
|
@ -16,6 +16,9 @@ checksum=57bce5b37989577aa8b4a588426839f6bf39bcc3869748cb18f6827df251f4e5
|
|||
if [ "$CROSS_BUILD" ]; then
|
||||
# XXX needs libpng-config
|
||||
hostmakedepends+=" libpng-devel"
|
||||
pre_build() {
|
||||
sed -e 's,-L/usr/lib,,g' -i builds/unix/unix-cc.mk
|
||||
}
|
||||
fi
|
||||
|
||||
freetype-devel_package() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user