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
@ -9,7 +9,7 @@ cxx = MakeMakefile["C++"]
|
|||||||
|
|
||||||
cxx.instance_variable_set(:'@have_devel', true)
|
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"
|
#include "ruby/config.h"
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user