aboutsummaryrefslogtreecommitdiffstats
path: root/testing/xpra/fix-xdummy-musl-detect.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/xpra/fix-xdummy-musl-detect.patch')
-rw-r--r--testing/xpra/fix-xdummy-musl-detect.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/testing/xpra/fix-xdummy-musl-detect.patch b/testing/xpra/fix-xdummy-musl-detect.patch
new file mode 100644
index 0000000000..cacd7d074a
--- /dev/null
+++ b/testing/xpra/fix-xdummy-musl-detect.patch
@@ -0,0 +1,19 @@
+--- xpra-0.16.3/scripts/xpra_Xdummy
++++ xpra-0.16.3/scripts/xpra_Xdummy.new
+@@ -30,8 +30,14 @@
+ fi
+
+ if [ ! -x "$LD_LINUX" ]; then
+- LD_LINUX=''
+- echo "could not determine ld path for $arch, please file an xpra bug"
++ # Musl C / Alpine Linux
++ ldmusl=$(ls /lib | grep ^ld-musl)
++ if [ -n "$ldmusl" ]; then
++ LD_LINUX="/lib/$ldmusl"
++ else
++ LD_LINUX=''
++ echo "could not determine ld path for $arch, please file an xpra bug"
++ fi
+ fi
+ }
+