cog/ThirdParty/mpg123
Christopher Snowhill 26ac2b09fb Move static and dynamic libaries to archive
Please remember to unpack the archive before building, and
if it is updated by a future version.
2022-06-24 17:09:29 -07:00
..
include/mpg123 [mpg123] Fix include paths 2022-06-24 17:09:15 -07:00
README.md [OpenMPT / vgmstream] Made libraries pre-built 2022-06-24 17:09:02 -07:00

README.md

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