[meta-virtualization] [PATCH 2/2] yajl-ruby: Don't compile extensions
Qian Lei
qianl.fnst at cn.fujitsu.com
Tue Jan 27 18:03:36 PST 2015
Module mkmf is used to generate Makefile, but it uses native libraries
instead of target libraries. To avoid arch problem, we don't compile
the extension.
Signed-off-by: Qian Lei <qianl.fnst at cn.fujitsu.com>
---
.../yajl-ruby/0001-Don-t-compile-extensions.patch | 20 ++++++++++++++++++++
.../recipes-devtools/ruby/yajl-ruby_git.bb | 1 +
2 files changed, 21 insertions(+)
create mode 100644 meta-openstack/recipes-devtools/ruby/yajl-ruby/0001-Don-t-compile-extensions.patch
diff --git a/meta-openstack/recipes-devtools/ruby/yajl-ruby/0001-Don-t-compile-extensions.patch b/meta-openstack/recipes-devtools/ruby/yajl-ruby/0001-Don-t-compile-extensions.patch
new file mode 100644
index 0000000..8ebd35d
--- /dev/null
+++ b/meta-openstack/recipes-devtools/ruby/yajl-ruby/0001-Don-t-compile-extensions.patch
@@ -0,0 +1,20 @@
+From 8aec601d3531e7e0ba40df9d712e3754c5404f1a Mon Sep 17 00:00:00 2001
+From: Qian Lei <qianl.fnst at cn.fujitsu.com>
+Date: Tue, 27 Jan 2015 19:13:16 +0800
+Subject: [PATCH] Don't compile extensions.
+
+Signed-off-by: Qian Lei <qianl.fnst at cn.fujitsu.com>
+---
+ yajl-ruby.gemspec | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/yajl-ruby.gemspec b/yajl-ruby.gemspec
+index f601263..ecfeacf 100644
+--- a/yajl-ruby.gemspec
++++ b/yajl-ruby.gemspec
+@@ -9 +9 @@ Gem::Specification.new do |s|
+- s.extensions = ["ext/yajl/extconf.rb"]
++# s.extensions = ["ext/yajl/extconf.rb"]
+--
+1.8.3.1
+
diff --git a/meta-openstack/recipes-devtools/ruby/yajl-ruby_git.bb b/meta-openstack/recipes-devtools/ruby/yajl-ruby_git.bb
index 2bdd218..ecc8d43 100644
--- a/meta-openstack/recipes-devtools/ruby/yajl-ruby_git.bb
+++ b/meta-openstack/recipes-devtools/ruby/yajl-ruby_git.bb
@@ -20,0 +21 @@ SRC_URI = " \
+ file://0001-Don-t-compile-extensions.patch \
--
1.8.3.1
More information about the meta-virtualization
mailing list