make default_static depend on depends_static

keeps it in line with other default_ functions.
This commit is contained in:
Leo 2019-05-07 02:09:39 -03:00 committed by Natanael Copa
parent 1dd4382ea1
commit 68a054e274
2 changed files with 3 additions and 1 deletions

View File

@ -410,6 +410,8 @@ Specifies the run-time dependencies of the -doc subpackage.
Specifies the run-time dependencies of the -libs subpackage. Specifies the run-time dependencies of the -libs subpackage.
.It Cm depends_openrc .It Cm depends_openrc
Specifies the run-time dependencies of the -openrc subpackage. 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 .It Cm giturl
Specifies the URL of the Git repository to use with Specifies the URL of the Git repository to use with
.Cm abuild checkout . .Cm abuild checkout .

View File

@ -1747,7 +1747,7 @@ dev() {
# predefined splitfunc static # predefined splitfunc static
default_static() { default_static() {
local i= local i=
depends="" depends="$depends_static"
pkgdesc="$pkgdesc (static library)" pkgdesc="$pkgdesc (static library)"
cd "$pkgdir" || return 0 cd "$pkgdir" || return 0