[pulseaudio-discuss] [PATCH] Windows compilation fixes

salvador fandino sfandino at gmail.com
Wed Oct 4 14:22:15 UTC 2017


Another Windows patch for fixing the "install" target in Makefile.am.

On Windows, syn links usually don't work, so automake uses "cp" instead of
"ln -s", but the ways those commands handle their arguments are not
completely equivalent.

Specifically, commands like...

   $(LN_S) foo $dir/foo

doesn't work with "cp" because it doesn't resolve the first argument
relative to the second. This patch solves the issue replacing those
commands by...

   cd $dir && $(LN_S) foo foo

as recommended in the automake documentation.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20171004/f2881fd3/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-install-simulate-ln-s-correctly-on-Windows.patch
Type: text/x-patch
Size: 2015 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20171004/f2881fd3/attachment.bin>


More information about the pulseaudio-discuss mailing list