File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1226,13 +1226,13 @@ int main(int argc, const char *argv[]) {
1226
1226
// and $build_dir/$unsigned_frameworks
1227
1227
if (copy) {
1228
1228
copyLibraries (dst_dir, swiftLibs, stripBitcode);
1229
- if (unsigned_dst_dir.empty ()) {
1229
+ if (! unsigned_dst_dir.empty ()) {
1230
1230
// Never strip bitcode from the unsigned libraries.
1231
1231
// Their existing signatures must be preserved.
1232
1232
copyLibraries (unsigned_dst_dir, swiftLibs, false );
1233
1233
}
1234
1234
1235
- if (resource_dst_dir.empty ()) {
1235
+ if (! resource_dst_dir.empty ()) {
1236
1236
// Never strip bitcode from resources libraries, for
1237
1237
// the same reason as the libraries copied to
1238
1238
// unsigned_dst_dir.
@@ -1242,7 +1242,7 @@ int main(int argc, const char *argv[]) {
1242
1242
1243
1243
// Codesign the Swift libraries in $build_dir/$frameworks
1244
1244
// but not the libraries in $build_dir/$unsigned_frameworks.
1245
- if (ident.empty ()) {
1245
+ if (! ident.empty ()) {
1246
1246
// Swift libraries that are up-to-date get codesigned anyway
1247
1247
// (in case options changed or a previous build was incomplete).
1248
1248
// We do employ an optimization, however, if resigning the dylib
You can’t perform that action at this time.
0 commit comments