diff options
Diffstat (limited to 'ext')
-rw-r--r-- | ext/etc/extconf.rb | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/ext/etc/extconf.rb b/ext/etc/extconf.rb index 5a0ce3c5f7..b6ae7700da 100644 --- a/ext/etc/extconf.rb +++ b/ext/etc/extconf.rb @@ -50,13 +50,7 @@ end decl = [ "void rb_deprecate_constant(VALUE, const char *);", ] -begin - # Hack to get rid of linking against static library - extmk, $extmk = $extmk, false - have_func('rb_deprecate_constant(Qnil, "None")', [decl]) -ensure - $extmk = extmk -end +have_func('rb_deprecate_constant(Qnil, "None")', [decl]) $distcleanfiles << "constdefs.h" |