summaryrefslogtreecommitdiff
path: root/data/ruby/libtool.diff
diff options
context:
space:
mode:
authorSam Bingner <sam@bingner.com>2018-11-14 21:44:19 -1000
committerSam Bingner <sam@bingner.com>2018-11-14 21:44:19 -1000
commiteb85ac968649dbfa528424fcbbb73ea8258bed67 (patch)
tree8034899c9a508629314d1a31b9bbdf3185124678 /data/ruby/libtool.diff
parent1c4910de8117eb56ff68d6faffef673d6b0b7f06 (diff)
Update ruby to 2.5.3 and fix dpkg to be able to install it
Diffstat (limited to 'data/ruby/libtool.diff')
-rw-r--r--data/ruby/libtool.diff17
1 files changed, 17 insertions, 0 deletions
diff --git a/data/ruby/libtool.diff b/data/ruby/libtool.diff
new file mode 100644
index 000000000..e694d0853
--- /dev/null
+++ b/data/ruby/libtool.diff
@@ -0,0 +1,17 @@
+diff -ur ruby-2.5.3/configure.ac ruby-2.5.3+iPhone/configure.ac
+--- ruby-2.5.3/configure.ac 2018-01-03 08:12:16.000000000 -1000
++++ ruby-2.5.3+iPhone/configure.ac 2018-11-14 00:02:11.000000000 -1000
+@@ -465,13 +465,6 @@
+ CFLAGS="$save_CFLAGS"
+ ])])
+
+-AS_CASE(["$target_os"], [darwin*], [
+-if libtool 2>&1 | grep no_warning_for_no_symbols > /dev/null; then
+- ac_cv_prog_ac_ct_RANLIB=:
+- ac_cv_prog_ac_ct_AR='libtool -static'
+- rb_cv_arflags='-no_warning_for_no_symbols -o'
+-fi
+-])
+ AC_CHECK_TOOL(RANLIB, ranlib, :)
+ AC_CHECK_TOOL(AR, ar)
+ AS_IF([test -z "$AR"], [