Commit d37e1da
fix(cmake): link CMAKE_DL_LIBS after libarrow.a to fix gcc8 fs_test link
libarrow.a calls dlsym but the arrow imported target did not declare
${CMAKE_DL_LIBS} in its link interface, so -ldl could end up before
libarrow.a in the final link line. Linkers that resolve symbols strictly
left-to-right (gcc8-test in CI) then fail linking paimon-fs-test with
"undefined reference to dlsym / DSO missing from command line" once
fs_test started linking the jindo static libraries. Declare
${CMAKE_DL_LIBS} on the arrow interface, matching the lucene and
jindosdk::nextarch targets.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent 991db0b commit d37e1da
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1636 | 1636 | | |
1637 | 1637 | | |
1638 | 1638 | | |
| 1639 | + | |
| 1640 | + | |
1639 | 1641 | | |
1640 | 1642 | | |
1641 | 1643 | | |
1642 | 1644 | | |
1643 | 1645 | | |
1644 | 1646 | | |
1645 | | - | |
| 1647 | + | |
| 1648 | + | |
1646 | 1649 | | |
1647 | 1650 | | |
1648 | 1651 | | |
| |||
0 commit comments