mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
ext/-test-/cxxanyargs: use try_link instead
We would like to skip this extension library when libstdc++ is missing. To avoid such situation let's use try_link instead of try_compile.
This commit is contained in:
parent
84d1a99a3f
commit
0febd07c69
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ cxx = MakeMakefile["C++"]
|
|||
|
||||
cxx.instance_variable_set(:'@have_devel', true)
|
||||
|
||||
ok = cxx.try_compile(<<~'begin', "") do |x|
|
||||
ok = cxx.try_link(<<~'begin', "") do |x|
|
||||
#include "ruby/config.h"
|
||||
|
||||
namespace {
|
||||
|
|
Loading…
Reference in a new issue