From ceda534f66b72389b45dadc77080c08ae4904e9e Mon Sep 17 00:00:00 2001 From: Benoit Daloze Date: Fri, 25 Sep 2020 17:16:29 +0200 Subject: [PATCH] Add a note that NOKOGIRI_USE_SYSTEM_LIBRARIES is used by TruffleRuby --- ext/nokogiri/extconf.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/nokogiri/extconf.rb b/ext/nokogiri/extconf.rb index 4ed3699ba4..89c6ec56d8 100644 --- a/ext/nokogiri/extconf.rb +++ b/ext/nokogiri/extconf.rb @@ -382,6 +382,7 @@ def lib_a(ldflag) end def using_system_libraries? + # NOTE: TruffleRuby uses this env var as it does not support using static libraries yet. arg_config('--use-system-libraries', !!ENV['NOKOGIRI_USE_SYSTEM_LIBRARIES']) end