Skip to content

Commit

Permalink
Revert "[ruby/etc] Hack to get rid of linking against static library"
Browse files Browse the repository at this point in the history
This reverts commit 5885550.

It didn't work without `--enable-shared`.
  • Loading branch information
nobu committed Apr 2, 2020
1 parent 736695c commit 11ddfd4
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions ext/etc/extconf.rb
Expand Up @@ -50,13 +50,7 @@
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"

Expand Down

0 comments on commit 11ddfd4

Please sign in to comment.