Skip to content
Snippets Groups Projects
Commit be814b25 authored by Timo Teräs's avatar Timo Teräs
Browse files

main/libressl: fix cross-compile

parent b9f08c4b
No related branches found
No related tags found
No related merge requests found
......@@ -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 \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment