aboutsummaryrefslogtreecommitdiffstats
path: root/testing/jruby/jruby.post-install
diff options
context:
space:
mode:
Diffstat (limited to 'testing/jruby/jruby.post-install')
-rw-r--r--testing/jruby/jruby.post-install13
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/jruby/jruby.post-install b/testing/jruby/jruby.post-install
new file mode 100644
index 0000000000..8b2e94b06f
--- /dev/null
+++ b/testing/jruby/jruby.post-install
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+# TODO: Remove after merging musl-1.1.14-r8 into stable branch.
+
+if [ ! -e /usr/lib/libcrypt.so* ]; then
+ cat <<-EOF 1>&2
+ * Symlink /usr/lib/libcrypt.so* does not exist, you probably use older
+ * revision of lib6-compat package. Since it's necessary for JRuby to work
+ * correctly, it'll be created now.
+ EOF
+
+ ln -s /usr/lib/libc.so /usr/lib/libcrypt.so.1
+fi