diff options
| author | SulfurNitride <SulfurNitride@users.noreply.github.com> | 2026-03-12 09:14:06 -0500 |
|---|---|---|
| committer | SulfurNitride <SulfurNitride@users.noreply.github.com> | 2026-03-12 09:14:06 -0500 |
| commit | a549585dc52e480bec7eaf736bd570cea5380cb4 (patch) | |
| tree | 6432c707166b592fcfedcf64cfa15ade0cda9bfc /docker | |
| parent | dbba44e3a5691264b93c0b0bc2d4a43bc79b0dd8 (diff) | |
Fix Python plugins: bundle mobase pybind11 module in plugins/libs/
The Python proxy expects mobase.cpython-313-x86_64-linux-gnu.so in
plugins/libs/ but build-inner.sh was not copying it. This caused
"No module named 'mobase'" when loading Python plugins.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'docker')
| -rwxr-xr-x | docker/build-inner.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docker/build-inner.sh b/docker/build-inner.sh index d4d3755..a1d3e20 100755 --- a/docker/build-inner.sh +++ b/docker/build-inner.sh @@ -78,6 +78,11 @@ find build/libs -type f \( \ # Python plugin loader (small — kept for optional Python support). [ -f "build/src/src/plugins/libplugin_python.so" ] && cp -f "build/src/src/plugins/libplugin_python.so" "${OUT_DIR}/plugins/" +# mobase pybind11 module — the Python proxy expects it in plugins/libs/. +if [ -d "build/src/src/plugins/libs" ]; then + mkdir -p "${OUT_DIR}/plugins/libs" + cp -f build/src/src/plugins/libs/mobase*.so "${OUT_DIR}/plugins/libs/" 2>/dev/null || true +fi # Python helper shims (needed by Python plugins when Python is enabled). for f in lzokay.py winreg.py pyCfg.py; do [ -f "build/src/src/plugins/${f}" ] && cp -f "build/src/src/plugins/${f}" "${OUT_DIR}/plugins/" |
