ruby-changes:64731
From: Nobuyoshi <ko1@a...>
Date: Mon, 4 Jan 2021 19:56:20 +0900 (JST)
Subject: [ruby-changes:64731] afa9d65d61 (master): make-snapshot: add -extlibs option
https://git.ruby-lang.org/ruby.git/commit/?id=afa9d65d61 From afa9d65d61857792508b1405835b07b78e24449c Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Mon, 4 Jan 2021 19:24:09 +0900 Subject: make-snapshot: add -extlibs option `make-snapshot` with `-extlibs` (or `-extlibs=yes`) includes extracted and patched external library sources that the extension libraries depend on. diff --git a/tool/make-snapshot b/tool/make-snapshot index 869eb29..b03bb93 100755 --- a/tool/make-snapshot +++ b/tool/make-snapshot @@ -21,6 +21,7 @@ $packages ||= nil https://github.com/ruby/ruby/blob/trunk/tool/make-snapshot#L21 $digests ||= nil $tooldir = File.expand_path("..", __FILE__) $unicode_version = nil if ($unicode_version ||= nil) == "" +$extlibs ||= "no" $colorize = Colorize.new def usage @@ -463,7 +464,7 @@ def package(vcs, rev, destdir, tmp = nil) https://github.com/ruby/ruby/blob/trunk/tool/make-snapshot#L464 end vars.delete("UNICODE_FILES") # for stable branches vars["UNICODE_VERSION"] = $unicode_version if $unicode_version - vars["EXTRACT_EXTLIBS"] = "" + vars["EXTRACT_EXTLIBS"] = "no" if $extlibs == "no" args = vars.dup mk.gsub!(/@([A-Za-z_]\w*)@/) {args.delete($1); vars[$1] || ENV[$1]} mk << commonmk.gsub(/\{\$([^(){}]*)[^{}]*\}/, "").sub(/^revision\.tmp::$/, '\& Makefile') -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/