diff options
| author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2025-01-10 13:21:48 +0900 |
|---|---|---|
| committer | Nobuyoshi Nakada <nobu.nakada@gmail.com> | 2025-12-02 09:55:01 +0900 |
| commit | bb76e65f5696e936f72aa2ee0d17b5087f4a26ad (patch) | |
| tree | 976d86380c0887ad634ab53ba07f7cc7ebb9f480 | |
| parent | 9cdee9db9b3bfc58f773912c072ce7ab78a7d724 (diff) | |
Win32: Add `DLEXT` for clean-spec
| -rw-r--r-- | win32/Makefile.sub | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/win32/Makefile.sub b/win32/Makefile.sub index c27419c990..a8ad28cb1a 100644 --- a/win32/Makefile.sub +++ b/win32/Makefile.sub @@ -435,6 +435,7 @@ EXTSTATIC = OBJEXT = obj ASMEXT = asm +DLEXT = so INSTALLED_LIST= .installed.list @@ -872,7 +873,7 @@ $(CONFIG_H): $(MKFILES) $(srcdir)/win32/Makefile.sub $(win_srcdir)/Makefile.sub #define THREAD_IMPL_H "$(THREAD_IMPL_H)" #define THREAD_IMPL_SRC "$(THREAD_IMPL_SRC)" #define LOAD_RELATIVE 1 -#define DLEXT ".so" +#define DLEXT ".$(DLEXT)" !if "$(libdir_basename)" != "lib" #define LIBDIR_BASENAME "$(libdir_basename)" !endif @@ -985,7 +986,7 @@ s,@STATIC@,$(STATIC),;t t s,@CCDLFLAGS@,,;t t s,@LDSHARED@,$(LDSHARED),;t t s,@SOEXT@,dll,;t t -s,@DLEXT@,so,;t t +s,@DLEXT@,$(DLEXT),;t t s,@LIBEXT@,lib,;t t s,@STRIP@,$(STRIP),;t t s,@ENCSTATIC@,$(ENCSTATIC),;t t |
