Commit 1326cca
authored
Do not build shared libraries with
`-pie` builds an executable and when passed after `-shared` won't create a shared library anymore.
CMake 4.1.0 changed the order of `CMAKE_SHARED_LINKER_FLAGS` to be passed after the shared-library-creation-flags and the build now fails.
However it was wrong to pass this flag to the shared library linking anyway, so remove it from there.-pie
1 parent ddf0dc7 commit 1326cca
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
217 | 217 | | |
218 | 218 | | |
219 | 219 | | |
220 | | - | |
| 220 | + | |
221 | 221 | | |
222 | 222 | | |
223 | | - | |
| 223 | + | |
224 | 224 | | |
225 | 225 | | |
226 | 226 | | |
| |||
0 commit comments