From 28534cf1a8d692687d9f40c3be622e0945b5a2ee Mon Sep 17 00:00:00 2001 From: Kaalleen <36401965+kaalleen@users.noreply.github.com> Date: Fri, 8 Jul 2022 07:33:45 +0200 Subject: linux scipy/linalg libraries: ELF (#1714) * do not strip any scipy library for linux * apply settings to debug formats * use fixed pyembroidery Co-authored-by: Lex Neva --- bin/build-python | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'bin') diff --git a/bin/build-python b/bin/build-python index ab0e3c27..92e1802a 100755 --- a/bin/build-python +++ b/bin/build-python @@ -66,16 +66,6 @@ if [ "$BUILD" = "windows" ]; then pyinstaller_args+="--i electron/build/icons/win/inkstitch.ico " pyinstaller_args+="--version-file installer_scripts/file_version_info.txt " python -m PyInstaller $pyinstaller_args inkstitch.py -elif [ "$BUILD" = "linux" ]; then - # without the LD_LIBRARY_PATH, it seems that pyinstaller can't find all of - # wxpython's shared libraries - LD_LIBRARY_PATH="${site_packages}/wx" python -m PyInstaller $pyinstaller_args inkstitch.py; - - # We've found that stripping the _fblas library in scipy/linalg causes a bizarre - # error: - # - # ELF load command address/offset not properly aligned - find dist/inkstitch -type f | grep -E '\.so($|\.)' | grep -v _fblas | grep -v _flapack | xargs strip else LD_LIBRARY_PATH="${site_packages}/wx" python -m PyInstaller $pyinstaller_args --strip inkstitch.py; fi -- cgit v1.2.3