File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -120,9 +120,10 @@ def generate_products(self):
120120 swift_flags += "-O "
121121
122122 swift_flags += Configuration .current .extra_swift_flags
123-
123+
124124 swift_flags += """
125- TARGET_SWIFTEXE_FLAGS = -I${SDKROOT}/lib/swift/""" + Configuration .current .target .swift_sdk_name + """ -L${SDKROOT}/lib/swift/""" + Configuration .current .target .swift_sdk_name + """ """
125+ TARGET_SWIFTEXE_FLAGS = -I${SDKROOT}/lib/swift/""" + Configuration .current .target .swift_sdk_name + """ -L${SDKROOT}/lib/swift/""" + Configuration .current .target .swift_sdk_name + \
126+ """ -L${SDKROOT}/lib/swift/""" + Configuration .current .target .swift_sdk_name + """/""" + Configuration .current .target .swift_arch + """ """
126127 if Configuration .current .build_mode == Configuration .Debug :
127128 swift_flags += "-g -Onone -enable-testing "
128129 elif Configuration .current .build_mode == Configuration .Release :
@@ -135,7 +136,8 @@ def generate_products(self):
135136EXTRA_LD_FLAGS = """ + Configuration .current .extra_ld_flags
136137
137138 ld_flags += """
138- TARGET_LDFLAGS = --target=${TARGET} ${EXTRA_LD_FLAGS} -L${SDKROOT}/lib/swift/""" + Configuration .current .target .swift_sdk_name + """ """
139+ TARGET_LDFLAGS = --target=${TARGET} ${EXTRA_LD_FLAGS} -L${SDKROOT}/lib/swift/""" + Configuration .current .target .swift_sdk_name + \
140+ """ -L${SDKROOT}/lib/swift/""" + Configuration .current .target .swift_sdk_name + """/""" + Configuration .current .target .swift_arch + """ """
139141 if Configuration .current .system_root is not None :
140142 ld_flags += "--sysroot=${SYSROOT}"
141143
You can’t perform that action at this time.
0 commit comments