aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2020-04-27 09:02:10 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2020-04-27 09:02:10 +0000
commit2671de78c5d89ba639b1dcca2a06246da56944bc (patch)
tree2d4b704ebee4ae8ad647dee5691290aafdb3719b
parent2eb2dada1a855d3d43d8867f0605b9ed42cbb6af (diff)
downloadaports-2671de78c5d89ba639b1dcca2a06246da56944bc.tar.gz
aports-2671de78c5d89ba639b1dcca2a06246da56944bc.tar.bz2
aports-2671de78c5d89ba639b1dcca2a06246da56944bc.tar.xz
main/libcap: fix running tests
we need set LD_LIBRARY_PATH so test app finds the library
-rw-r--r--main/libcap/APKBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/libcap/APKBUILD b/main/libcap/APKBUILD
index 8dd33d3b60..be7d315be4 100644
--- a/main/libcap/APKBUILD
+++ b/main/libcap/APKBUILD
@@ -25,7 +25,7 @@ build() {
check() {
cd "$builddir"
# Running make test runs the command below but with sudo
- cd progs && ./quicktest.sh
+ cd progs && LD_LIBRARY_PATH=../libcap ./quicktest.sh
}
package() {