diff options
| author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2025-05-12 00:20:41 +0900 |
|---|---|---|
| committer | Nobuyoshi Nakada <nobu.nakada@gmail.com> | 2025-05-12 02:50:25 +0900 |
| commit | 2fe8b9cd3d308d754f3d33a948dfb1dd782a10dc (patch) | |
| tree | a5fded29c20005cd1329593cea4403521637b551 | |
| parent | b48b841378f80e16378ceb83f3b78e52df9ae023 (diff) | |
Copy to path with the base name
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/13302
| -rw-r--r-- | lib/mkmf.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mkmf.rb b/lib/mkmf.rb index 6f11073eb4..7ac4f916b8 100644 --- a/lib/mkmf.rb +++ b/lib/mkmf.rb @@ -2594,7 +2594,7 @@ static: #{$extmk && !$static ? "all" : %[$(STATIC_LIB)#{$extout ? " install-rb" dest = "#{dir}/#{File.basename(f)}" mfile.print("do-install-rb#{sfx}: #{dest}\n") mfile.print("#{dest}: #{f} #{timestamp_file(dir, target_prefix)}\n") - mfile.print("\t$(Q) $(#{$extout ? 'COPY' : 'INSTALL_DATA'}) #{f} $(@D)\n") + mfile.print("\t$(Q) $(#{$extout ? 'COPY' : 'INSTALL_DATA'}) #{f} $@\n") if defined?($installed_list) and !$extout mfile.print("\t@echo #{dest}>>$(INSTALLED_LIST)\n") end |
