Skip to content

Commit 05caa05

Browse files
committed
[Linux] Remove swift_begin/swift_end from libFoundation.a
- swift_begin.o and swift_end.o should only be added to dynamic libraries and to the executable, which covers any static libraries that are linked in.
1 parent 3b1ebdb commit 05caa05

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/product.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,8 @@ def __init__(self, name):
182182
def generate(self, objects = []):
183183
self.rule = "Archive"
184184
self.product_name = Configuration.current.target.static_library_prefix + self.name + Configuration.current.target.static_library_suffix
185+
self.conformance_begin = ''
186+
self.conformance_end = ''
185187
return Library.generate(self, [], objects)
186188

187189
class StaticAndDynamicLibrary(StaticLibrary, DynamicLibrary):

0 commit comments

Comments
 (0)