You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Quote from portaudio/config.log:
...
configure:3194: checking whether the C compiler works
configure:3216: gcc -I/opt/homebrew/opt/zlib/include portaudio/lib/.libs/libportaudio.a -framework CoreServices -framework CoreFoundation -framework AudioUnit -framewo rk AudioToolbox -framework CoreAudio -lpthread -lm mini-gdbstub/build/libgdbstub.a conftest.c >&5
clang: error: no such file or directory: 'portaudio/lib/.libs/libportaudio.a'
...
configure:3265: error: C compiler cannot create executables
...
The ./configure script fails on macOS because LDFLAGS includes static
libraries (libportaudio.a) that have not yet been built. This causes the
compiler check to fail with "C compiler cannot create executables".
This patch unsets LDFLAGS during the configure step to allow the test
program to compile and link successfully, enabling builds on macOS.
Related: #76
0 commit comments