Following 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.

Additional testing:
 - [x] JDK mainline builds with the patch and crosstool-ng without problems now
 - [ ] GHA
 - [x] A matrix of Server/Zero builds with GCC 10

-------------

Commit messages:
 - Fix

Changes: https://git.openjdk.org/jdk/pull/20173/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=20173&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8336343
  Stats: 19 lines in 1 file changed: 19 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/20173.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/20173/head:pull/20173

PR: https://git.openjdk.org/jdk/pull/20173

Reply via email to