Remove Interix support

Interix (Windows Services for UNIX / Subsystem for UNIX-based
Applications) was removed from Windows in 8.1 and Server 2012 R2
and its support has long ended, so Ruby can no longer be built or
run on it.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Hiroshi SHIBATAandClaude Fable 5 committed 2026-07-17 15:13:13 +09:00
1 parent 7740e4b7bc
commit 8d03d3c1e0
2 files changed
+1 -10
Notes: git 2026-09-30 04:40:08 +00:00

No files matched your search

+1 -7
View File
@@ -3143,7 +3143,7 @@ STATIC=
# mkmf.rb's have_header() to fail if the desired resource happens to be
# installed in the /usr/local tree.
RUBY_APPEND_OPTION(CCDLFLAGS, -fno-common)],
[cygwin*|msys*|mingw*|aix*|interix*], [ ],
[cygwin*|msys*|mingw*|aix*], [ ],
[
RUBY_APPEND_OPTION(CCDLFLAGS, -fPIC)])
], [
@@ -3205,9 +3205,6 @@ AC_SUBST(EXTOBJS)
LDFLAGS="$LDFLAGS -Wl,-export-dynamic"
])
rb_cv_dlopen=yes],
[interix*], [ : ${LDSHARED='$(CC) -shared'}
XLDFLAGS="$XLDFLAGS -Wl,-E"
rb_cv_dlopen=yes],
[freebsd*|dragonfly*], [
: ${LDSHARED='$(CC) -shared'}
AS_IF([test "$rb_cv_binary_elf" = yes], [
@@ -3730,9 +3727,6 @@ AS_CASE("$enable_shared", [yes], [
])
LIBRUBY_DLDFLAGS="$LIBRUBY_DLDFLAGS "' $(XLDFLAGS)'
],
[interix*], [
LIBRUBYARG_SHARED='-L. -L${libdir} -l$(RUBY_SO_NAME)'
],
[cygwin*|msys*|mingw*|mswin*], [
LIBRUBY_RELATIVE=yes
])
-3
View File
@@ -384,9 +384,6 @@ dln_open(const char *file)
# ifndef RTLD_LAZY
# define RTLD_LAZY 1
# endif
# ifdef __INTERIX
# undef RTLD_GLOBAL
# endif
# ifndef RTLD_GLOBAL
# define RTLD_GLOBAL 0
# endif