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 I am really on vacation until next week, but I had a sneak peek on this and it looks good. ------------- Marked as reviewed by ihse (Reviewer). PR Review: https://git.openjdk.org/jdk/pull/20173#pullrequestreview-2206144667