diff options
author | Timo Teräs <timo.teras@iki.fi> | 2016-11-17 07:18:09 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2016-11-17 07:18:09 +0000 |
commit | be814b25c6d91ed746caae79dc0197e6606ca07c (patch) | |
tree | f419fd4589b1a3d06d1894ba4a679c084c54cf95 /main/libressl | |
parent | b9f08c4bb8cd562709397b6f99aa659d5756a334 (diff) | |
download | aports-be814b25c6d91ed746caae79dc0197e6606ca07c.tar.bz2 aports-be814b25c6d91ed746caae79dc0197e6606ca07c.tar.xz |
main/libressl: fix cross-compile
Diffstat (limited to 'main/libressl')
-rw-r--r-- | main/libressl/APKBUILD | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/main/libressl/APKBUILD b/main/libressl/APKBUILD index f7ab8cc3b0..5c669565ba 100644 --- a/main/libressl/APKBUILD +++ b/main/libressl/APKBUILD @@ -10,7 +10,9 @@ url="http://www.libressl.org/" arch="all" license="custom" depends="" -makedepends="linux-headers" +makedepends_build="" +makedepends_host="linux-headers" +makedepends="$makedepends_host" replaces="openssl" subpackages="$pkgname-dbg $_namever-libcrypto:_libs $_namever-libssl:_libs $_namever-libtls:_libs $pkgname-dev $pkgname-doc" @@ -19,9 +21,11 @@ builddir="$srcdir/$pkgname-$pkgver" build() { cd "$builddir" + CFLAGS="-L$CBUILDROOT/usr/lib $CFLAGS" \ ./configure \ --build=$CBUILD \ --host=$CHOST \ + --with-sysroot=$CBUILDROOT \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ |