We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d23f4d7 commit 64fe3faCopy full SHA for 64fe3fa
lib/script.py
@@ -135,7 +135,7 @@ def generate_products(self):
135
EXTRA_LD_FLAGS = """ + Configuration.current.extra_ld_flags
136
137
ld_flags += """
138
-TARGET_LDFLAGS = --target=${TARGET} ${EXTRA_LD_FLAGS} -L${SDKROOT}/lib/swift/""" + Configuration.current.target.swift_sdk_name + """ """
+TARGET_LDFLAGS = --target=${TARGET} ${EXTRA_LD_FLAGS} -L ${SDKROOT}/lib/swift/""" + Configuration.current.target.swift_sdk_name + """/${ARCH} -L${SDKROOT}/lib/swift/""" + Configuration.current.target.swift_sdk_name + """ """
139
if Configuration.current.system_root is not None:
140
ld_flags += "--sysroot=${SYSROOT}"
141
0 commit comments