cog/ThirdParty/flac
Christopher Snowhill d70e1da126 Updated libFLAC to version 1.3.4
Updated the FLAC library to what is the official release of 1.3.4,
although I already had all the commits from that version prior to this
update.

Signed-off-by: Christopher Snowhill <kode54@gmail.com>
2022-02-21 16:43:36 -08:00
..
include/FLAC Build several libraries out of tree now 2022-02-15 00:26:55 -08:00
lib Updated libFLAC to version 1.3.4 2022-02-21 16:43:36 -08:00
patches Build several libraries out of tree now 2022-02-15 00:26:55 -08:00
README.md Updated libFLAC to version 1.3.4 2022-02-21 16:43:36 -08:00

README.md

Build with CMake, using the following options:

cmake build-x86 -DCMAKE_OSX_ARCHITECTURES="x86_64" -DCMAKE_OSX_DEPLOYMENT_TARGET="10.12" -DBUILD_SHARED_LIBS=ON
cmake build-arm -DCMAKE_OSX_ARCHITECTURES="arm64" -DCMAKE_OSX_DEPLOYMENT_TARGET="11.0" -DBUILD_SHARED_LIBS=ON

And some minor tweaks with install_name_tool -id to make sure that the resulting libFLAC.8.dylib referred to itself with @rpath and not full paths of the build directory, and imported libogg.0.dylib with an @rpath.

Version 1.3.4-0-g1151c93e was used from the following repository:

https://github.com/xiph/flac.git

A single patch was used, and is included. Affects x86_64, but not arm64.

x86_64 and arm64 were built separately, to allow for intrinsic functions to be used for x86_64.