Commit 7f940f0
Fix CI: add POSITION_INDEPENDENT_CODE for Linux shared library linking
The dtwc++ static library is linked into the Python .so extension.
On Linux, static libraries linked into shared objects must be compiled
with -fPIC. Set POSITION_INDEPENDENT_CODE ON for both dtwc++ and
mip-solvers targets.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent ee47be2 commit 7f940f0
2 files changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
5 | 8 | | |
6 | 9 | | |
7 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
0 commit comments