void-packages/srcpkgs/openjdk11/patches/fix-musl-detection.diff

21 lines
478 B
Diff

--- a/make/autoconf/platform.m4 2023-07-05 08:22:24.000000000 +0100
+++ b/make/autoconf/platform.m4 2023-07-22 14:48:46.291451605 +0100
@@ -214,7 +214,7 @@
AC_DEFUN([PLATFORM_EXTRACT_VARS_FROM_LIBC],
[
case "$1" in
- *linux*-musl)
+ *linux*-musl*)
VAR_LIBC=musl
;;
*linux*-gnu)
@@ -232,7 +232,7 @@
AC_DEFUN([PLATFORM_EXTRACT_VARS_FROM_ABI],
[
case "$1" in
- *linux*-musl)
+ *linux*-musl*)
VAR_ABI=musl
;;
*linux*-gnu)