Commit c3e0c69
committed
fix: use
The `infiniop` target is `set_kind("shared")`, so xmake ignores
`add_ldflags` during linking. Switch to `add_shflags` with
`--no-as-needed` so the GNU linker keeps `libinfiniops.so` in the
`NEEDED` list even when no direct symbol references exist in
`infiniop`'s own object files.add_shflags to force-link libinfiniops.so on shared library targets1 parent 5e9e0a2 commit c3e0c69
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
394 | 394 | | |
395 | 395 | | |
396 | 396 | | |
397 | | - | |
| 397 | + | |
398 | 398 | | |
399 | 399 | | |
400 | 400 | | |
| |||
0 commit comments