From 91ef34abdd50d3b8e798b6a39d677002da9c6dc2 Mon Sep 17 00:00:00 2001 From: Daniel Kolesa Date: Tue, 18 Aug 2020 06:45:33 +0200 Subject: [PATCH] gtk-vnc: fix build on musl --- srcpkgs/gtk-vnc/template | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/srcpkgs/gtk-vnc/template b/srcpkgs/gtk-vnc/template index 6a5f5f2d1e..f07e530d23 100644 --- a/srcpkgs/gtk-vnc/template +++ b/srcpkgs/gtk-vnc/template @@ -18,6 +18,10 @@ checksum=a81a1f1a79ad4618027628ffac27d3391524c063d9411c7a36a5ec3380e6c080 build_options="gir" build_options_default="gir" +if [ "$XBPS_TARGET_LIBC" = "musl" ]; then + configure_args+=" -Dwith-coroutine=gthread" +fi + gtk-vnc-devel_package() { depends="glib-devel gtk+3-devel gtk-vnc>=${version}_${revision}" short_desc+=" - development files"