From 90dad282fc63bf2179b198515b0acb9689955203 Mon Sep 17 00:00:00 2001 From: Benjamin Moody Date: Wed, 17 Jul 2024 18:12:50 -0400 Subject: [PATCH] Update internal source paths for mpg123-1.32.6. --- linux_build.sh | 2 +- mac_build.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/linux_build.sh b/linux_build.sh index 9136281..5621378 100755 --- a/linux_build.sh +++ b/linux_build.sh @@ -84,7 +84,7 @@ export OPUS_CFLAGS="-I$(pwd)/opus-$OPUSVERSION/include/" export OPUS_LIBS="-L$(pwd)/opus-$OPUSVERSION/.libs/ -lopus" export LAME_CFLAGS="-I$(pwd)/lame-$LAMEVERSION/include/" export LAME_LIBS="-L$(pwd)/lame-$LAMEVERSION/libmp3lame/.libs/" -export MPG123_CFLAGS="-I$(pwd)/mpg123-$MPG123VERSION/src/libmpg123/ $LAME_CFLAGS" +export MPG123_CFLAGS="-I$(pwd)/mpg123-$MPG123VERSION/src/include/ $LAME_CFLAGS" export MPG123_LIBS="-L$(pwd)/mpg123-$MPG123VERSION/src/libmpg123/.libs/ -lmpg123 -lmp3lame $LAME_LIBS" # add some global flags that libsndfile's compile script doesn't pick up diff --git a/mac_build.sh b/mac_build.sh index af1e6ab..14fa457 100755 --- a/mac_build.sh +++ b/mac_build.sh @@ -94,7 +94,7 @@ export OPUS_INCLUDE="$(pwd)/opus-$OPUSVERSION" export OPUS_LIBS="$(pwd)/opus-$OPUSVERSION/.libs/libopus.a" export MP3LAME_INCLUDE="$(pwd)/lame-$LAMEVERSION" export MP3LAME_LIBS="$(pwd)/lame-$LAMEVERSION/libmp3lame/.libs/libmp3lame.a" -export MPG123_INCLUDE="$(pwd)/mpg123-$MPG123VERSION/src/libmpg123" +export MPG123_INCLUDE="$(pwd)/mpg123-$MPG123VERSION/src/include" export MPG123_LIBS="$(pwd)/mpg123-$MPG123VERSION/src/libmpg123/.libs/libmpg123.a" curl -LO https://github.com/libsndfile/libsndfile/releases/download/$SNDFILE_VERSION/libsndfile-$SNDFILE_VERSION.tar.xz