diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-05-09 05:52:59 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-05-09 05:52:59 +0000 |
commit | 77811031e549b0e8011182f6f703a07ab2ae767b (patch) | |
tree | e1e093009ad72c0f14cf592d5a1a0cbc16d8f744 /ext/tk | |
parent | ecb8b52f56f108ac93f0f470462f3a3cb697d91e (diff) | |
download | ruby-77811031e549b0e8011182f6f703a07ab2ae767b.tar.gz |
extmk.rb: check if parent is build
* ext/extmk.rb (extmake): don't build nested libraries if parent
library isn't build.
* ext/{dl/callback,tk/tkutil}/extconf.rb: no longer need to check
if the parent is build.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk')
-rw-r--r-- | ext/tk/tkutil/extconf.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/ext/tk/tkutil/extconf.rb b/ext/tk/tkutil/extconf.rb index 57de973c0a..9ffde75657 100644 --- a/ext/tk/tkutil/extconf.rb +++ b/ext/tk/tkutil/extconf.rb @@ -1,11 +1,4 @@ begin - has_tk = compiled?('tk') -rescue NoMethodError - # Probably, called manually (NOT from 'extmk.rb'). Force to make Makefile. - has_tk = true -end - -if has_tk require 'mkmf' have_func("rb_obj_instance_exec", "ruby.h") |