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):
120
120
swift_flags += "-O "
121
121
122
122
swift_flags += Configuration .current .extra_swift_flags
123
-
123
+
124
124
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 + """ """
126
127
if Configuration .current .build_mode == Configuration .Debug :
127
128
swift_flags += "-g -Onone -enable-testing "
128
129
elif Configuration .current .build_mode == Configuration .Release :
@@ -135,7 +136,8 @@ def generate_products(self):
135
136
EXTRA_LD_FLAGS = """ + Configuration .current .extra_ld_flags
136
137
137
138
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 + """ """
139
141
if Configuration .current .system_root is not None :
140
142
ld_flags += "--sysroot=${SYSROOT}"
141
143
You can’t perform that action at this time.
0 commit comments