[oe-commits] Jesse Gilles : ruby: fix socket extension compile

git version control git at git.openembedded.org
Thu Oct 14 04:33:19 UTC 2010


Module: openembedded.git
Branch: master
Commit: 16291dd0305169f098dedc2b87947c0b255e78d1
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=16291dd0305169f098dedc2b87947c0b255e78d1

Author: Jesse Gilles <jgilles at multitech.com>
Date:   Wed Sep 29 06:13:44 2010 +0000

ruby: fix socket extension compile

* fixes building socket extension with ipv6 enabled

Signed-off-by: Jesse Gilles <jgilles at multitech.com>
Signed-off-by: Khem Raj <raj.khem at gmail.com>

---

 recipes/ruby/ruby.inc |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/recipes/ruby/ruby.inc b/recipes/ruby/ruby.inc
index 6ef6535..cd8d2df 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





More information about the Openembedded-commits mailing list