On Sat, 13 Jul 2024 16:48:20 GMT, Aleksey Shipilev <sh...@openjdk.org> wrote:
> Following [JDK-8257913](https://bugs.openjdk.org/browse/JDK-8257913), it > would be more convenient to search into more paths in sysroot for ALSA as > well. Currently, this is the only thing that is missing for me to build from > the crosstool-ng generated sysroot. Without these, we have to provide the > additional `--with-alsa-lib` configuration param. > > We do a similar thing for X11: > https://github.com/openjdk/jdk/blob/6f325db49365d3d06add5d194d4696a1428675fa/make/autoconf/lib-x11.m4#L55-L79 > > Additional testing: > - [x] JDK mainline builds with the patch and crosstool-ng without problems > now > - [x] GHA > - [x] A matrix of Server/Zero builds with GCC 10 This pull request has now been integrated. Changeset: 9e6e0a8f Author: Aleksey Shipilev <sh...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/9e6e0a8f341389215f0db6b2260f2b16351f02be Stats: 19 lines in 1 file changed: 19 ins; 0 del; 0 mod 8336343: Add more known sysroot library locations for ALSA Reviewed-by: phh, prr, ihse ------------- PR: https://git.openjdk.org/jdk/pull/20173