[oe] [PATCH 1/3] ruby: fix socket extension compile
Jesse Gilles
jgilles at multitech.com
Wed Sep 29 16:13:44 UTC 2010
* fixes building socket extension with ipv6 enabled
Signed-off-by: Jesse Gilles <jgilles at multitech.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
--
1.7.0.4
More information about the Openembedded-devel
mailing list