Skip to content

Commit 64fe3fa

Browse files
committed
add a path to TARGET_LDFLAGS to account for architecture specific library paths
1 parent d23f4d7 commit 64fe3fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/script.py

+1-1
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)