diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-04-01 19:29:39 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-04-01 19:29:39 +0900 |
commit | fad0a1451b6396c488b0876d05a64de844096292 (patch) | |
tree | 70dc67fa63065507d0b266b604064a2ed6d49211 /ext/etc/extconf.rb | |
parent | 919b175afc389f8df6a3caa05ffdd28f5fc4bfca (diff) | |
download | ruby-fad0a1451b6396c488b0876d05a64de844096292.tar.gz |
Revert "[ruby/etc] Deprecate names under `Struct`"
This reverts commit 919b175afc389f8df6a3caa05ffdd28f5fc4bfca.
Since 604689628dc64d050a68f1ebe5e06f9105474936, to let `try_run`
work before LIBRUBY_SO is installed, `try_link` links against the
static library which defines even symbols unexported in the shared
library.
Diffstat (limited to 'ext/etc/extconf.rb')
-rw-r--r-- | ext/etc/extconf.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/ext/etc/extconf.rb b/ext/etc/extconf.rb index b6ae7700da..435fbe7f3d 100644 --- a/ext/etc/extconf.rb +++ b/ext/etc/extconf.rb @@ -47,11 +47,6 @@ if !File.exist?("#{srcdir}/depend") %x[#{RbConfig.ruby} #{srcdir}/mkconstants.rb -o #{srcdir}/constdefs.h] end -decl = [ - "void rb_deprecate_constant(VALUE, const char *);", -] -have_func('rb_deprecate_constant(Qnil, "None")', [decl]) - $distcleanfiles << "constdefs.h" create_makefile("etc") |