diff --git a/ThirdParty/fdk-aac/README.md b/ThirdParty/fdk-aac/README.md index 40b759261..3e644c9f5 100644 --- a/ThirdParty/fdk-aac/README.md +++ b/ThirdParty/fdk-aac/README.md @@ -10,3 +10,8 @@ Using the following commandline: env CFLAGS="-arch x86_64 -arch arm64 -fPIC -isysroot $(xcode-select -p)/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -mmacosx-version-min=10.12" CXXFLAGS="-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 make -j8 +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 diff --git a/ThirdParty/fdk-aac/lib/libfdk-aac.2.dylib b/ThirdParty/fdk-aac/lib/libfdk-aac.2.dylib index 4ca2b72a1..d34276079 100755 Binary files a/ThirdParty/fdk-aac/lib/libfdk-aac.2.dylib and b/ThirdParty/fdk-aac/lib/libfdk-aac.2.dylib differ