ruby: fix cross-build.
This commit is contained in:
parent
6c17632dd8
commit
ea6b971a18
1 changed files with 2 additions and 0 deletions
|
@ -26,6 +26,8 @@ fi
|
||||||
pre_build() {
|
pre_build() {
|
||||||
# Force getaddrinfo detection.
|
# Force getaddrinfo detection.
|
||||||
sed -e 's,\(checking_for("wide getaddrinfo") {try_\)run,\1link,' -i ext/socket/extconf.rb
|
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() {
|
post_install() {
|
||||||
# Remove references to the cross compiler
|
# Remove references to the cross compiler
|
||||||
|
|
Loading…
Reference in a new issue