Sha256: 4071e901493bf40974a83cd979e58ec22364717b07964955ee9666dcd57ae23e

Contents?: true

Size: 855 Bytes

Versions: 2

Compression:

Stored size: 855 Bytes

Contents

From 0b929b7027eb592c0971a400184f1dfa5a0bce7c Mon Sep 17 00:00:00 2001
From: Lars Kanis <lars@greiz-reinsdorf.de>
Date: Thu, 26 Dec 2019 19:13:48 +0100
Subject: [PATCH 1/2] Enable build of static libruby

This is used in rake-compiler-dock for linux targets.
The static libruby is postprocessed in a special way.
See rake-compiler-dock's Dockerfile.
---
 tasks/bin/cross-ruby.rake | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tasks/bin/cross-ruby.rake b/tasks/bin/cross-ruby.rake
index c9b0bbb..2a73be7 100644
--- a/tasks/bin/cross-ruby.rake
+++ b/tasks/bin/cross-ruby.rake
@@ -108,6 +108,8 @@ end
 file "#{build_dir}/Makefile" => [build_dir, makefile_in] do |t|

   options = [
+    '--enable-static',
+    '--enable-install-static-library',
     "--host=#{MINGW_HOST}",
     "--target=#{MINGW_TARGET}",
     "--build=#{RUBY_BUILD}",
--
2.20.1

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rake-compiler-dock-1.0.1 build/patches2/rake-compiler-1.1.0/0001-Enable-build-of-static-libruby.patch
rake-compiler-dock-1.0.0 build/patches2/rake-compiler-1.1.0/0001-Enable-build-of-static-libruby.patch