`default_static()` does not add `-dev` to `depends`
default_static()
from abuild has some code to add a depends=
on the -dev
subpackage (which contains header files), but that doesn't work, resulting in all -static
subpackages not depending on the corresponding -dev
.
I looked into this issue, and found that it's caused by subpackages_has()
checking $subpackages
which is empty while handling subpackages.
This issue would also affect everything that calls subpackages_has
during the handling of subpackages, but i haven't investigated this further.