mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-31 01:11:35 +00:00
AppImage: Patch Python sysconfigdata
When building in docker on macOS, python builds with .exe extension because the case insensitive file system of macOS leaks into docker. This causes the build to result in a different output on macOS compared to Linux. We simply patch sysconfigdata to remove the extension. Some more info: https://bugs.python.org/issue27631
This commit is contained in:
parent
212ed8b18b
commit
bb59a1298a
1 changed files with 6 additions and 0 deletions
|
@ -57,6 +57,12 @@ tar xf "$CACHEDIR/Python-$PYTHON_VERSION.tar.xz" -C "$BUILDDIR"
|
|||
-q
|
||||
make -j4 -s
|
||||
make -s install > /dev/null
|
||||
# When building in docker on macOS, python builds with .exe extension because the
|
||||
# case insensitive file system of macOS leaks into docker. This causes the build
|
||||
# to result in a different output on macOS compared to Linux. We simply patch
|
||||
# sysconfigdata to remove the extension.
|
||||
# Some more info: https://bugs.python.org/issue27631
|
||||
sed -i -e 's/\.exe//g' "$APPDIR"/usr/lib/python3.6/_sysconfigdata*
|
||||
)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue