Cog/ThirdParty/mpg123/README.md
Christopher Snowhill 32a595222d [OpenMPT / vgmstream] Made libraries pre-built
Made the OpenMPT / legacy OpenMPT and mpg123 libraries pre-built.
Changed the OpenMPT and vgmstream plugins to import the libraries as
they are now. Made mpg123 embedded and imported by the main binary,
since it's now shared by two plugins.

Signed-off-by: Christopher Snowhill <kode54@gmail.com>
2022-06-24 17:09:02 -07:00

15 lines
561 B
Markdown

Built from the latest version indicated by Homebrew, 1.29.3, using the
following commands:
```
for arch in x86_64 arm64; do
env CFLAGS="-g -Os -mmacosx-version-min=10.13 -arch $arch" CXXFLAGS="-g -Os -mmacosx-version-min=10.13 -arch $arch" LDFLAGS="-mmacosx-version-min=10.13 -arch $arch" ./configure
make -j8
cp src/libmpg123/.libs/libmpg123.0.dylib ./libmpg123.0_$arch.dylib
make clean
done
lipo -create -output libmpg123.0.dylib libmpg123.0_x86_64.dylib libmpg123.0_arm64.dylib
install_name_tool -id @rpath/libmpg123.0.dylib libmpg123.0.dylib
```