File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -108,13 +108,13 @@ extension Command {
108
108
109
109
let productPath = Path . join ( prefix, module. type == . Library ? " lib \( module. c99name) .so " : module. c99name)
110
110
args += [ " -o " , productPath]
111
-
112
- let clang = ClangTool ( desc : " Linking \( module. name) " ,
111
+
112
+ let shell = ShellTool ( description : " Linking \( module. name) " ,
113
113
inputs: dependencies + compileCommands. map { $0. node} + [ mkdir. node] ,
114
114
outputs: [ productPath, module. targetName] ,
115
- args: args,
116
- deps : nil )
117
- let command = Command ( node: module. targetName, tool: clang )
115
+ args: [ Toolchain . clang ] + args)
116
+
117
+ let command = Command ( node: module. targetName, tool: shell )
118
118
119
119
return ( compileCommands + [ command] , mkdir)
120
120
}
You can’t perform that action at this time.
0 commit comments