eab39222c5
Currently it supports only on-device builds. https://github.com/termux/termux-packages/pull/4895 How to build: cp -a ./disabled-packages/swift ./packages/ pkg install clang binutils-gold file patch python cmake ninja python2 perl rsync libandroid-spawn libcurl libicu libsqlite libuuid libxml2 llbuild pkg-config TERMUX_MAKE_PROCESSES=7 ./build-package.sh swift
14 lines
529 B
Diff
14 lines
529 B
Diff
diff --git a/swift/lib/Driver/ToolChains.cpp b/swift/lib/Driver/ToolChains.cpp
|
|
index cb86ce837f..aebc688fe1 100644
|
|
--- a/swift/lib/Driver/ToolChains.cpp
|
|
+++ b/swift/lib/Driver/ToolChains.cpp
|
|
@@ -1137,7 +1137,7 @@ void ToolChain::getRuntimeLibraryPaths(SmallVectorImpl<std::string> &runtimeLibP
|
|
if (!SDKPath.empty()) {
|
|
scratchPath = SDKPath;
|
|
llvm::sys::path::append(scratchPath, "usr", "lib", "swift");
|
|
- runtimeLibPaths.push_back(scratchPath.str());
|
|
+ //runtimeLibPaths.push_back(scratchPath.str());
|
|
}
|
|
}
|
|
|