ruby: fix cross-build.

This commit is contained in:
Christian Neukirchen 2015-12-25 18:43:54 +01:00
parent 6c17632dd8
commit ea6b971a18

View file

@ -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