Commit 789a257
committed
ninjabackend: fix linking of non-bundled static libraries on rustc macos
rustc -lstatic+verbatim=filename is not portable, given that linkers may not
support passing unmodified filenames.
If we use -bundle, then also use -verbatim (default) and let the system
linker find the library by adding prefix/suffix itself.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>1 parent a48754c commit 789a257
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2048 | 2048 | | |
2049 | 2049 | | |
2050 | 2050 | | |
2051 | | - | |
| 2051 | + | |
2052 | 2052 | | |
2053 | 2053 | | |
2054 | 2054 | | |
| |||
2094 | 2094 | | |
2095 | 2095 | | |
2096 | 2096 | | |
2097 | | - | |
| 2097 | + | |
2098 | 2098 | | |
2099 | 2099 | | |
2100 | 2100 | | |
| |||
0 commit comments