2022-01-13 12:11:38 +00:00
|
|
|
This was built with my modified FDK-AAC from:
|
|
|
|
|
|
|
|
https://gitlab.com/kode54/fdk-aac.git
|
|
|
|
|
|
|
|
Which was only slightly modified from upstream from here:
|
|
|
|
|
|
|
|
https://github.com/mstorsjo/fdk-aac.git
|
|
|
|
|
|
|
|
Using the following commandline:
|
|
|
|
|
2022-01-14 01:21:05 +00:00
|
|
|
env CFLAGS="-Os -arch x86_64 -arch arm64 -fPIC -isysroot $(xcode-select -p)/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -mmacosx-version-min=10.12" CXXFLAGS="-Os -arch x86_64 -arch arm64 -fPIC -isysroot $(xcode-select -p)/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -mmacosx-version-min=10.12" LDFLAGS="-arch x86_64 -arch arm64 -mmacosx-version-min=10.12" ./configure --prefix=$(COG_REPO_DIR)/ThirdParty/fdk-aac
|
2022-01-13 12:11:38 +00:00
|
|
|
make -j8
|
2022-01-14 00:39:25 +00:00
|
|
|
make install
|
|
|
|
|
|
|
|
Then I update the id path in the resulting dylib:
|
|
|
|
|
|
|
|
install_name_tool -id @rpath/libfdk-aac.2.dylib libfdk-aac.2.dylib
|