diff options
| author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2024-11-26 01:04:07 +0900 |
|---|---|---|
| committer | Nobuyoshi Nakada <nobu.nakada@gmail.com> | 2024-11-26 19:06:21 +0900 |
| commit | c5d31cb96be7407f102a2efebddcf4ab19cba168 (patch) | |
| tree | 21811cd4081e7a3ea0b081876a4792aeec7cddfd /template | |
| parent | 16d98dc3c14675295ecb0945d0464c02a66453a7 (diff) | |
Shell dependent command should be in Makefile.in
As common.mk is used by nmake.exe, the commands there need to be
accepted also by cmd.exe.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/12166
Diffstat (limited to 'template')
| -rw-r--r-- | template/Makefile.in | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/template/Makefile.in b/template/Makefile.in index c4e2d6d542..78ebe8a338 100644 --- a/template/Makefile.in +++ b/template/Makefile.in @@ -348,6 +348,16 @@ $(ruby_pc): config.status Makefile $(Q)pkg_config=${PKG_CONFIG} && PKG_CONFIG_PATH=. $${pkg_config:-:} --print-errors ruby.tmp $(Q)$(MV) -f ruby.tmp.pc $(ruby_pc) +shared-gc-precheck: + $(Q) if test -z $(shared_gc_dir); then \ + echo "You must configure with --with-shared-gc to use shared GC"; \ + exit 1; \ + fi + $(Q) if test -z $(SHARED_GC); then \ + echo "You must specify SHARED_GC with the GC to build"; \ + exit 1; \ + fi + pre-install-local:: pkgconfig-data ruby-runner.h: template/ruby-runner.h.in config.status |
