macOS build.sh Homebrew library search paths
There is a problem with build.sh and Homebrew. Given that the default linker search paths include /usr/local/lib
, contribs can end up finding libraries installed via Homebrew, for example libarchive might find lz4. But then when actually building VLC it will fail to find lz4 when linking.
(Why exactly it looks in /usr/local/lib
for contribs but not when building VLC I am not sure yet)