The Python bindings have failed to build on Linux since the server
bindings were added:
- The server dependencies (zstd, Capstone, getopt) contain C sources,
but only CXX was enabled. Enable C in python/CMakeLists.txt.
- An empty CMAKE_INSTALL_BINDIR makes zstd's install() rules fail.
Use "." so the client DLL still lands in the wheel root on Windows.
- TracyServer is linked into a shared module, which needs
position-independent code. Set CMAKE_POSITION_INDEPENDENT_CODE.
All changes are inside python/ and only apply when TRACY_CLIENT_PYTHON
is ON.
Closes#1517
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LPZxBTTREb1SnkZkapQibr