diff --git a/eclass/shards.eclass b/eclass/shards.eclass index ec29f3c702..794ff1e522 100644 --- a/eclass/shards.eclass +++ b/eclass/shards.eclass @@ -93,6 +93,9 @@ if [[ ${CATEGORY} == dev-crystal ]]; then # To build a correct dependency graph, add Crystal version # restrictions to runtime dependencies of Crystal libraries. RDEPEND="${CRYSTAL_DEPS}" +else + # Add a buildtime dependency on the Crystal standard library. + DEPEND="${CRYSTAL_DEPS}" fi # Crystal packages do not use CFLAGS