summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-07-10 01:22:55 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-07-10 01:22:55 +0000
commit54d9c77c8b4a73e82ed4fb25d1ddc3e8b44d0df1 (patch)
tree3a0c2225e48121805dc1cda5cea6f3129a9456fb
parent3e972a116fb063fc0c1dda7292ff386d6d2ae737 (diff)
extmk.rb: silently skip never-installed extensions
* ext/extmk.rb (extmake): as extension libraries start with '-' are not installed always, no problems if no errors occurred. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rwxr-xr-xext/extmk.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/extmk.rb b/ext/extmk.rb
index 3adcb46..7122720 100755
--- a/ext/extmk.rb
+++ b/ext/extmk.rb
@@ -257,6 +257,8 @@ def extmake(target)
f.print(*dummy_makefile(CONFIG["srcdir"]))
end
+ return true if !error and target.start_with?("-")
+
mess = "Failed to configure #{target}. It will not be installed.\n"
if error
mess = "#{error}\n#{mess}"