aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/ruby
diff options
context:
space:
mode:
authorJesse Gilles <jgilles@multitech.com>2010-09-29 06:13:44 +0000
committerKhem Raj <raj.khem@gmail.com>2010-10-13 21:30:27 -0700
commit16291dd0305169f098dedc2b87947c0b255e78d1 (patch)
tree566739c75d433c13c5fe66ca337cf021ebc53018 /recipes/ruby
parentfbeebda14a6cc158c541bf0fd986d29c901e986b (diff)
downloadopenembedded-16291dd0305169f098dedc2b87947c0b255e78d1.tar.gz
ruby: fix socket extension compile
* fixes building socket extension with ipv6 enabled Signed-off-by: Jesse Gilles <jgilles@multitech.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes/ruby')
-rw-r--r--recipes/ruby/ruby.inc5
1 files changed, 4 insertions, 1 deletions
diff --git a/recipes/ruby/ruby.inc b/recipes/ruby/ruby.inc
index 6ef65358fa..cd8d2df655 100644
--- a/recipes/ruby/ruby.inc
+++ b/recipes/ruby/ruby.inc
@@ -6,7 +6,7 @@ LICENSE = "GPL"
DEPENDS = "ruby-native zlib openssl"
DEPENDS_virtclass-native = ""
-INC_PR = "r1"
+INC_PR = "r2"
SHRT_VER = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}"
SRC_URI = "ftp://ftp.ruby-lang.org/pub/ruby/${SHRT_VER}/ruby-${PV}.tar.gz \
@@ -18,6 +18,9 @@ S = "${WORKDIR}/ruby-${PV}"
inherit autotools
+# fix building of socket extension
+EXTRA_OECONF = "--enable-wide-getaddrinfo"
+
# This snippet lets compiled extensions which rely on external libraries,
# such as zlib, compile properly. If we don't do this, then when extmk.rb
# runs, it uses the native libraries instead of the target libraries, and so