Skip to content

Commit b41506c

Browse files
authored
Merge pull request #1457 from lanza/skinnypaths.foundation
add a linker search path to account for library path changes to platforms without fat binaries
2 parents d23f4d7 + 64fe3fa commit b41506c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/script.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def generate_products(self):
135135
EXTRA_LD_FLAGS = """ + Configuration.current.extra_ld_flags
136136

137137
ld_flags += """
138-
TARGET_LDFLAGS = --target=${TARGET} ${EXTRA_LD_FLAGS} -L${SDKROOT}/lib/swift/""" + Configuration.current.target.swift_sdk_name + """ """
138+
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 + """ """
139139
if Configuration.current.system_root is not None:
140140
ld_flags += "--sysroot=${SYSROOT}"
141141

0 commit comments

Comments
 (0)