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>
561 B
561 B
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