File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -219,11 +219,13 @@ extension Module {
219
219
var buildSettings = [ String: Any] ( )
220
220
let plistPath = xcodeProjectPath. appending ( component: infoPlistFileName)
221
221
222
- // Add default library search path to the directory where symlinks to framework
222
+ // Add default library search path to the directory where symlinks to C target framework
223
223
// binaries will be put with name `lib<library-name>.dylib` so that autolinking
224
224
// can proceed without providing another modulemap for Xcode projects.
225
225
// See: https://bugs.swift.org/browse/SR-2465
226
- buildSettings [ " LIBRARY_SEARCH_PATHS " ] = [ " $(PROJECT_TEMP_DIR)/SymlinkLibs/ " ]
226
+ if recursiveDependencies. first ( where: { $0 is ClangModule } ) != nil {
227
+ buildSettings [ " LIBRARY_SEARCH_PATHS " ] = [ " $(PROJECT_TEMP_DIR)/SymlinkLibs/ " ]
228
+ }
227
229
228
230
if isTest {
229
231
buildSettings [ " EMBEDDED_CONTENT_CONTAINS_SWIFT " ] = " YES "
You can’t perform that action at this time.
0 commit comments