File tree Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -46,16 +46,16 @@ let package = Package(
46
46
. target(
47
47
name: " RealModule " ,
48
48
dependencies: [ " _NumericsShims " ] ,
49
- exclude: excludedFilenames
49
+ exclude: excludedFilenames,
50
+ linkerSettings: [
51
+ . linkedLibrary( " m " , . when( platforms: [ . linux, . android] ) )
52
+ ]
50
53
) ,
51
54
52
55
// MARK: - Implementation details
53
56
. target(
54
57
name: " _NumericsShims " ,
55
- exclude: excludedFilenames,
56
- linkerSettings: [
57
- . linkedLibrary( " m " , . when( platforms: [ . linux, . android] ) )
58
- ]
58
+ exclude: excludedFilenames
59
59
) ,
60
60
61
61
. target(
Original file line number Diff line number Diff line change @@ -46,14 +46,16 @@ let package = Package(
46
46
. target(
47
47
name: " RealModule " ,
48
48
dependencies: [ " _NumericsShims " ] ,
49
- exclude: excludedFilenames
49
+ exclude: excludedFilenames,
50
+ linkerSettings: [
51
+ . linkedLibrary( " m " , . when( platforms: [ . linux, . android] ) )
52
+ ]
50
53
) ,
51
54
52
55
// MARK: - Implementation details
53
56
. target(
54
57
name: " _NumericsShims " ,
55
- exclude: excludedFilenames,
56
- linkerSettings: [ . linkedLibrary( " m " , . when( platforms: [ . linux, . android] ) ) ]
58
+ exclude: excludedFilenames
57
59
) ,
58
60
59
61
. target(
You can’t perform that action at this time.
0 commit comments