From ea6b971a183853cbadfdca7bc46638bd52e967e4 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Fri, 25 Dec 2015 18:43:54 +0100 Subject: [PATCH] ruby: fix cross-build. --- srcpkgs/ruby/template | 2 ++ 1 file changed, 2 insertions(+) diff --git a/srcpkgs/ruby/template b/srcpkgs/ruby/template index 6264553db0e..2a1b19e39de 100644 --- a/srcpkgs/ruby/template +++ b/srcpkgs/ruby/template @@ -26,6 +26,8 @@ fi pre_build() { # Force getaddrinfo detection. sed -e 's,\(checking_for("wide getaddrinfo") {try_\)run,\1link,' -i ext/socket/extconf.rb + # Hack for cross-builds. + touch ext/ripper/check } post_install() { # Remove references to the cross compiler