diff --git a/ext/mini_racer_extension/extconf.rb b/ext/mini_racer_extension/extconf.rb index 3d3b21cf..6a24e002 100644 --- a/ext/mini_racer_extension/extconf.rb +++ b/ext/mini_racer_extension/extconf.rb @@ -70,6 +70,9 @@ Libv8::Node.configure_makefile +# --exclude-libs is only for i386 PE and ELF targeted ports +append_ldflags("-Wl,--exclude-libs=ALL ") + if enable_config('asan') $CXXFLAGS.insert(0, " -fsanitize=address ") $LDFLAGS.insert(0, " -fsanitize=address ")