summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-05-07 02:09:39 -0300
committerNatanael Copa <ncopa@alpinelinux.org>2019-07-17 11:58:21 +0000
commit68a054e274cb7661fc354de62d1ba8d53f2cea02 (patch)
tree318125110d75f63cce932ac86507b33beec87049
parent1dd4382ea11428d32c36c099d65b1ba46d946764 (diff)
downloadabuild-68a054e274cb7661fc354de62d1ba8d53f2cea02.tar.bz2
abuild-68a054e274cb7661fc354de62d1ba8d53f2cea02.tar.xz
make default_static depend on depends_static
keeps it in line with other default_ functions.
-rw-r--r--APKBUILD.52
-rw-r--r--abuild.in2
2 files changed, 3 insertions, 1 deletions
diff --git a/APKBUILD.5 b/APKBUILD.5
index fe0f833..49b917e 100644
--- a/APKBUILD.5
+++ b/APKBUILD.5
@@ -410,6 +410,8 @@ Specifies the run-time dependencies of the -doc subpackage.
Specifies the run-time dependencies of the -libs subpackage.
.It Cm depends_openrc
Specifies the run-time dependencies of the -openrc subpackage.
+.It Cm depends_static
+Specifies the run-time dependencies of the -static subpackage.
.It Cm giturl
Specifies the URL of the Git repository to use with
.Cm abuild checkout .
diff --git a/abuild.in b/abuild.in
index 08fce58..1b51e13 100644
--- a/abuild.in
+++ b/abuild.in
@@ -1747,7 +1747,7 @@ dev() {
# predefined splitfunc static
default_static() {
local i=
- depends=""
+ depends="$depends_static"
pkgdesc="$pkgdesc (static library)"
cd "$pkgdir" || return 0