aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/libressl/APKBUILD6
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 \