From 78253ce8de67621ba10dcc7ce5f948bed7b7ecca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Fri, 13 Jan 2023 15:08:36 +0700 Subject: [PATCH] chromium: musl host needs cdefs.h too --- srcpkgs/chromium/template | 4 ++++ 1 file changed, 4 insertions(+) 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