diff --git a/srcpkgs/enlightenment/template b/srcpkgs/enlightenment/template index 906bde66082..da554a340e9 100644 --- a/srcpkgs/enlightenment/template +++ b/srcpkgs/enlightenment/template @@ -21,6 +21,10 @@ lib32disabled=yes build_options="wayland" build_options_default="wayland" +if [ "$CROSS_BUILD" -a "$build_option_wayland" ]; then + hostmakedepends+=" wayland-devel" +fi + post_extract() { # disable backtrace support on musl for now if [ "$XBPS_TARGET_LIBC" = "musl" ]; then