Skip to content

Fix up Meson build support for Windows / Add AF_UNIX support for Windows

Edward Lee requested to merge e45lee/pulseaudio:meson-af-unix into master

This PR makes following 2 changes:

  1. Fixes up the Meson build system when cross-compiling for a Windows host.
  2. Adds AF_UNIX support to Windows (supported as of Windows 10 build 17063). This support was based off of an earlier patch I found here: https://github.com/Martin1994/pulseaudio/commit/0b475be0782909b3ea89645fa19f50618231dccf

I've kept the changes together in the one PR as Meson assumes all compilation targets have the appropriate Unix socket definitions, which isn't true for Windows. The two changes are split into separate commits for ease-of-review though.

I've tested this locally using an OpenSUSE cross-compilation environment, and the generated binaries appear to work.

Edited by Edward Lee

Merge request reports