mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
fix ucrt arch
This commit is contained in:
parent
f1224e55fd
commit
00176cd40f
Notes:
git
2024-08-10 15:10:47 +00:00
1 changed files with 2 additions and 5 deletions
|
@ -3526,10 +3526,7 @@ AC_ARG_WITH(soname,
|
||||||
RUBY_SO_NAME='$(RUBY_BASE_NAME)$(MAJOR)$(MINOR)0'
|
RUBY_SO_NAME='$(RUBY_BASE_NAME)$(MAJOR)$(MINOR)0'
|
||||||
],
|
],
|
||||||
[mingw*], [
|
[mingw*], [
|
||||||
RUBY_SO_NAME="${rb_cv_msvcrt}"'-$(RUBY_BASE_NAME)$(MAJOR)$(MINOR)0'
|
RUBY_SO_NAME="${target_cpu}-${rb_cv_msvcrt}"'-$(RUBY_BASE_NAME)$(MAJOR)$(MINOR)0'
|
||||||
AS_IF([test x"${target_cpu}" != xi386], [
|
|
||||||
RUBY_SO_NAME="${target_cpu}-${RUBY_SO_NAME}"
|
|
||||||
])
|
|
||||||
],
|
],
|
||||||
[RUBY_SO_NAME='$(RUBY_BASE_NAME)'])
|
[RUBY_SO_NAME='$(RUBY_BASE_NAME)'])
|
||||||
])
|
])
|
||||||
|
@ -4427,7 +4424,7 @@ AS_IF([test "${universal_binary-no}" = yes ], [
|
||||||
AC_DEFINE_UNQUOTED(RUBY_PLATFORM, "universal." RUBY_PLATFORM_CPU "-" RUBY_PLATFORM_OS)
|
AC_DEFINE_UNQUOTED(RUBY_PLATFORM, "universal." RUBY_PLATFORM_CPU "-" RUBY_PLATFORM_OS)
|
||||||
], [
|
], [
|
||||||
AS_IF([test "${target_os}-${rb_cv_msvcrt}" = "mingw32-ucrt" ], [
|
AS_IF([test "${target_os}-${rb_cv_msvcrt}" = "mingw32-ucrt" ], [
|
||||||
arch="${target_cpu}-mingw-ucrt"
|
arch="${target_cpu}-${target_os}-ucrt"
|
||||||
], [
|
], [
|
||||||
arch="${target_cpu}-${target_os}"
|
arch="${target_cpu}-${target_os}"
|
||||||
])
|
])
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue