Skip to content

Commit 2fe8b9c

Browse files
committed
Copy to path with the base name
1 parent b48b841 commit 2fe8b9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/mkmf.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2594,7 +2594,7 @@ def create_makefile(target, srcprefix = nil)
25942594
dest = "#{dir}/#{File.basename(f)}"
25952595
mfile.print("do-install-rb#{sfx}: #{dest}\n")
25962596
mfile.print("#{dest}: #{f} #{timestamp_file(dir, target_prefix)}\n")
2597-
mfile.print("\t$(Q) $(#{$extout ? 'COPY' : 'INSTALL_DATA'}) #{f} $(@D)\n")
2597+
mfile.print("\t$(Q) $(#{$extout ? 'COPY' : 'INSTALL_DATA'}) #{f} $@\n")
25982598
if defined?($installed_list) and !$extout
25992599
mfile.print("\t@echo #{dest}>>$(INSTALLED_LIST)\n")
26002600
end

0 commit comments

Comments
 (0)