mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
merge revision(s) 72bda0f981
: [Backport #21255]
[Bug #21255] Win32: Do not export `__declspec(selectany)` symbols ``` x64-vcruntime140-ruby350.def : error LNK2001: unresolved external symbol Avx2WmemEnabledWeakValue ```
This commit is contained in:
parent
dc88822c3e
commit
a205407e16
2 changed files with 2 additions and 1 deletions
|
@ -11,7 +11,7 @@
|
||||||
# define RUBY_VERSION_MINOR RUBY_API_VERSION_MINOR
|
# define RUBY_VERSION_MINOR RUBY_API_VERSION_MINOR
|
||||||
#define RUBY_VERSION_TEENY 8
|
#define RUBY_VERSION_TEENY 8
|
||||||
#define RUBY_RELEASE_DATE RUBY_RELEASE_YEAR_STR"-"RUBY_RELEASE_MONTH_STR"-"RUBY_RELEASE_DAY_STR
|
#define RUBY_RELEASE_DATE RUBY_RELEASE_YEAR_STR"-"RUBY_RELEASE_MONTH_STR"-"RUBY_RELEASE_DAY_STR
|
||||||
#define RUBY_PATCHLEVEL 159
|
#define RUBY_PATCHLEVEL 160
|
||||||
|
|
||||||
#include "ruby/version.h"
|
#include "ruby/version.h"
|
||||||
#include "ruby/internal/abi.h"
|
#include "ruby/internal/abi.h"
|
||||||
|
|
|
@ -114,6 +114,7 @@ class Exports::Mswin < Exports
|
||||||
case filetype
|
case filetype
|
||||||
when /OBJECT/, /LIBRARY/
|
when /OBJECT/, /LIBRARY/
|
||||||
l.chomp!
|
l.chomp!
|
||||||
|
next if (/^ .*\(pick any\)$/ =~ l)...true
|
||||||
next if /^[[:xdigit:]]+ 0+ UNDEF / =~ l
|
next if /^[[:xdigit:]]+ 0+ UNDEF / =~ l
|
||||||
next unless /External/ =~ l
|
next unless /External/ =~ l
|
||||||
next if /(?:_local_stdio_printf_options|v(f|sn?)printf(_s)?_l)\Z/ =~ l
|
next if /(?:_local_stdio_printf_options|v(f|sn?)printf(_s)?_l)\Z/ =~ l
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue