When compiling with LDFLAGS=-Wl,--as-needed rezound-0.12.2_beta-r1 fails with following: checking for ALSA CFLAGS... checking for ALSA LDFLAGS... -lasound -lm -ldl -lpthread checking for libasound headers version >= 1.0.0... found. checking for snd_ctl_open in -lasound... yes *** enabling ALSA for audio I/O checking for Pa_Initialize in -lportaudio... no configure: error: ***** libportaudio.a not found (http://www.portaudio.com) ***** If config.log is needed, I'll attach it, but it complained about unresolved pthread symbols. So I think this diff to portaudio Makefile should do, it does on my end at least.
Created attachment 93092 [details, diff] portaudio-18.1-Makefile.linux.diff
portaudio has been fixed in portaudio-18.1-r5. Thanks for your help. However, rezound will fail to build with as-needed until bug #152393 is resolved. Alexis.
Thanks to ribosome for applying the fftw as-needed fix, rezound is now as-needed compliant ;)