1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-24 15:57:07 +00:00
termux-packages/packages/ccache/no-hardlink.patch
Kevin Williams f16e59f244 upgpkg(main/ccache): 4.7
Signed-off-by: Kevin Williams <admin@utermux.dev>
2022-10-18 14:43:59 +08:00

12 lines
345 B
Diff

--- ./src/Util.cpp.orig 2022-10-18 02:11:11.000000000 +0800
+++ ./src/Util.cpp 2022-10-18 12:13:33.329999639 +0800
@@ -738,7 +738,7 @@
unlink(newpath.c_str());
#ifndef _WIN32
- if (link(oldpath.c_str(), newpath.c_str()) != 0) {
+ if (symlink(oldpath.c_str(), newpath.c_str()) != 0) {
throw core::Error(strerror(errno));
}
#else