From 16291dd0305169f098dedc2b87947c0b255e78d1 Mon Sep 17 00:00:00 2001 From: Jesse Gilles Date: Wed, 29 Sep 2010 06:13:44 +0000 Subject: ruby: fix socket extension compile * fixes building socket extension with ipv6 enabled Signed-off-by: Jesse Gilles Signed-off-by: Khem Raj --- recipes/ruby/ruby.inc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'recipes/ruby') 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 -- cgit 1.2.3-korg