From 7ee6d9c99ab2a27ee700a53e47854e3c8eee7671 Mon Sep 17 00:00:00 2001 From: Qian Lei Date: Wed, 28 Jan 2015 10:03:36 +0800 Subject: yajl-ruby: Don't compile extensions 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 Signed-off-by: Bruce Ashfield --- .../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 +Date: Tue, 27 Jan 2015 19:13:16 +0800 +Subject: [PATCH] Don't compile extensions. + +Signed-off-by: Qian Lei +--- + 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..9531142 100644 --- a/meta-openstack/recipes-devtools/ruby/yajl-ruby_git.bb +++ b/meta-openstack/recipes-devtools/ruby/yajl-ruby_git.bb @@ -23,3 +23,4 @@ SRC_URI = " \ inherit ruby BBCLASSEXTEND = "native" + file://0001-Don-t-compile-extensions.patch \ -- cgit v1.2.3-54-g00ecf