asahi: Don't depend on glibc to decode
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Sat, 22 Jul 2023 16:40:49 +0000 (12:40 -0400)
committerAlyssa Rosenzweig <alyssa@rosenzweig.io>
Sat, 22 Jul 2023 16:42:58 +0000 (12:42 -0400)
commite890bb0e75ed16cf4bbe2ea2458cda66ef593e6a
treea4030cf5077e697123917c5dbeaf83207777aab4
parentf997d32f9f6a040f4956e067a4914a9584cbd424
asahi: Don't depend on glibc to decode

fopencookie is a glibc feature, so we can't use it on macOS (and
probably other libc's?). It's only used for the hypervisor interface,
though, so we can just make the hypervisor piece glibc-only while
otherwise fixing the wrap.dylib build.

Fixes: ee83453f69f ("asahi: Add a shared library interface for decode")
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24293>
src/asahi/lib/decode.c