diff --git a/srcpkgs/xload/patches/fix-musl.patch b/srcpkgs/xload/patches/fix-musl.patch new file mode 100644 index 0000000000..4328d8af30 --- /dev/null +++ b/srcpkgs/xload/patches/fix-musl.patch @@ -0,0 +1,11 @@ +--- get_rload.c ++++ get_rload.c +@@ -9,7 +9,7 @@ + /* Not all OS supports get_rload + steal the STUB idea from get_load + */ +-#if defined(QNX4) || defined(__CYGWIN__) || defined(_WIN32) ++#if defined(QNX4) || defined(__CYGWIN__) || defined(_WIN32) || !defined(__GLIBC__) + #define RLOADSTUB + #endif +