Skip to content

Commit

Permalink
Merge pull request #1457 from lanza/skinnypaths.foundation
Browse files Browse the repository at this point in the history
add a linker search path to account for library path changes to platforms without fat binaries
  • Loading branch information
compnerd committed Feb 28, 2018
2 parents d23f4d7 + 64fe3fa commit b41506c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/script.py
Expand Up @@ -135,7 +135,7 @@ def generate_products(self):
EXTRA_LD_FLAGS = """ + Configuration.current.extra_ld_flags

ld_flags += """
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 + """ """
if Configuration.current.system_root is not None:
ld_flags += "--sysroot=${SYSROOT}"

Expand Down

0 comments on commit b41506c

Please sign in to comment.