diff --git a/srcpkgs/chromium/template b/srcpkgs/chromium/template index 784b8a8c5d2..8ca3ef5559e 100644 --- a/srcpkgs/chromium/template +++ b/srcpkgs/chromium/template @@ -39,6 +39,10 @@ desc_option_debug="Build with debug symbols" desc_option_js_optimize="Optimize the JS used for Chromium's UI" desc_option_pipewire="Enable support for screen sharing for WebRTC via PipeWire" +if [ "$XBPS_LIBC" = musl ]; then + hostmakedepends+=" musl-legacy-compat" +fi + if [ "$XBPS_TARGET_LIBC" = "musl" ]; then makedepends+=" musl-legacy-compat" fi