aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuca Weiss <luca@z3ntu.xyz>2021-02-12 23:59:38 +0100
committerLuca Weiss <luca@z3ntu.xyz>2021-02-12 23:59:38 +0100
commit96d4ce50090eec1378e58affebdb5c75938ad337 (patch)
tree22d2b1efc86f5017c8f74dfbf8491dab906d6566
parent5e2fb5ba00338f91dd0e4714080fa38b3a4105d4 (diff)
downloadaports-96d4ce50090eec1378e58affebdb5c75938ad337.tar.gz
aports-96d4ce50090eec1378e58affebdb5c75938ad337.tar.bz2
aports-96d4ce50090eec1378e58affebdb5c75938ad337.tar.xz
testing/capnproto: add missing depend on libucontext-dev
The CMake file tries to link to ucontext: /usr/lib/cmake/CapnProto/CapnProtoTargets.cmake: INTERFACE_LINK_LIBRARIES "ucontext;pthread" But the linker can't find the .so to link to: ld: cannot find -lucontext
-rw-r--r--testing/capnproto/APKBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/testing/capnproto/APKBUILD b/testing/capnproto/APKBUILD
index 8eee86dde5..e95ecccffd 100644
--- a/testing/capnproto/APKBUILD
+++ b/testing/capnproto/APKBUILD
@@ -2,12 +2,13 @@
# Maintainer:
pkgname=capnproto
pkgver=0.8.0
-pkgrel=0
+pkgrel=1
pkgdesc="Tools for working with the Cap'n Proto format"
url="https://capnproto.org/"
arch="all"
license="MIT"
-makedepends="cmake linux-headers libucontext-dev"
+depends_dev="libucontext-dev"
+makedepends="$depends_dev cmake linux-headers"
subpackages="$pkgname-dev"
source="https://capnproto.org/$pkgname-c++-$pkgver.tar.gz
ucontext.patch"