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/" ...@@ -10,7 +10,9 @@ url="http://www.libressl.org/"
arch="all" arch="all"
license="custom" license="custom"
depends="" depends=""
makedepends="linux-headers" makedepends_build=""
makedepends_host="linux-headers"
makedepends="$makedepends_host"
replaces="openssl" replaces="openssl"
subpackages="$pkgname-dbg $_namever-libcrypto:_libs $_namever-libssl:_libs subpackages="$pkgname-dbg $_namever-libcrypto:_libs $_namever-libssl:_libs
$_namever-libtls:_libs $pkgname-dev $pkgname-doc" $_namever-libtls:_libs $pkgname-dev $pkgname-doc"
...@@ -19,9 +21,11 @@ builddir="$srcdir/$pkgname-$pkgver" ...@@ -19,9 +21,11 @@ builddir="$srcdir/$pkgname-$pkgver"
build() { build() {
cd "$builddir" cd "$builddir"
CFLAGS="-L$CBUILDROOT/usr/lib $CFLAGS" \
./configure \ ./configure \
--build=$CBUILD \ --build=$CBUILD \
--host=$CHOST \ --host=$CHOST \
--with-sysroot=$CBUILDROOT \
--prefix=/usr \ --prefix=/usr \
--sysconfdir=/etc \ --sysconfdir=/etc \
--mandir=/usr/share/man \ --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