2022-02-15 08:26:55 +00:00
|
|
|
Build with CMake, using the following options:
|
|
|
|
|
|
|
|
```
|
2022-02-22 00:43:36 +00:00
|
|
|
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
|
2022-02-15 08:26:55 +00:00
|
|
|
```
|
|
|
|
|
2022-02-22 00:43:36 +00:00
|
|
|
|
2022-02-15 08:26:55 +00:00
|
|
|
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
|
2022-02-22 00:43:36 +00:00
|
|
|
paths of the build directory, and imported libogg.0.dylib with an @rpath.
|
2022-02-15 08:26:55 +00:00
|
|
|
|
2022-02-22 00:43:36 +00:00
|
|
|
Version 1.3.4-0-g1151c93e was used from the following repository:
|
2022-02-15 08:26:55 +00:00
|
|
|
|
|
|
|
https://github.com/xiph/flac.git
|
|
|
|
|
|
|
|
A single patch was used, and is included. Affects x86_64, but not arm64.
|
2022-02-15 09:11:10 +00:00
|
|
|
|
2022-02-22 00:43:36 +00:00
|
|
|
x86_64 and arm64 were built separately, to allow for intrinsic functions
|
|
|
|
to be used for x86_64.
|