termux-packages/packages/swift/swift-build-script.patch.be...

18 lines
419 B
Plaintext
Raw Normal View History

diff --git a/swift/utils/gen-static-stdlib-link-args b/swift/utils/gen-static-stdlib-link-args
index 0fa009d67d3..abd98c2493f 100755
--- a/swift/utils/gen-static-stdlib-link-args
+++ b/swift/utils/gen-static-stdlib-link-args
@@ -60,11 +60,8 @@ function write_linkfile {
fi
cat >$OUTPUTFILE <<EOF
-ldl
--lpthread
--latomic
-lswiftCore
--latomic
--lswiftImageInspectionShared
+-llog
$ICU_LIBS
-lstdc++
-lm