github actions shared lib fix

This commit is contained in:
Thephaseless
2024-12-11 00:21:07 +00:00
parent b0fb72dff2
commit 986f7446bf
4 changed files with 28 additions and 2 deletions
+12
View File
@@ -0,0 +1,12 @@
#!/bin/sh
# Source .venv
. .venv/bin/activate
# Fix for actions LD_LIBRARY_PATH env
touch ld_fix.sh
PYTHON_PATH=$(which python3)
PYTHON_DIR=$(dirname $PYTHON_PATH)
echo "export LD_LIBRARY_PATH=$PYTHON_DIR/../lib" >> ld_fix.sh
echo "export PATH=$PYTHON_DIR:\$PATH" >> ld_fix.sh
chmod +x ld_fix.sh