diff options
| author | Kaalleen <36401965+kaalleen@users.noreply.github.com> | 2022-07-08 07:33:45 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-08 07:33:45 +0200 |
| commit | 28534cf1a8d692687d9f40c3be622e0945b5a2ee (patch) | |
| tree | fe2707c884cdd359232d5cca47fdd1aa0f4208dc /bin/build-python | |
| parent | 8d9a469ae2c289d2fde46c64d6d6d37e27dc9520 (diff) | |
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
Diffstat (limited to 'bin/build-python')
| -rwxr-xr-x | bin/build-python | 10 |
1 files changed, 0 insertions, 10 deletions
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 |
