Commit 31bf620
committed
Use the simulator deployment-target flag for simulator builds
-mios-version-min names the device platform, so against the simulator SDK the
linker rejects every dylib it resolves there. Configuring for the simulator
still exits 0, but conftest links fail and iconv, sqlite3 and zlib features are
misdetected as absent; a build with a library on LDFLAGS before the first
compiler check fails outright instead.
The device/simulator split is already known from the host triple, so select the
flag from it.1 parent e8158d1 commit 31bf620
3 files changed
Lines changed: 20 additions & 4 deletions
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1008 | 1008 | | |
1009 | 1009 | | |
1010 | 1010 | | |
1011 | | - | |
1012 | | - | |
| 1011 | + | |
| 1012 | + | |
| 1013 | + | |
| 1014 | + | |
| 1015 | + | |
| 1016 | + | |
| 1017 | + | |
1013 | 1018 | | |
1014 | 1019 | | |
1015 | 1020 | | |
| |||
0 commit comments