Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing UCRT64 support in strip-python.sh #18

Open
JaiSoone opened this issue Mar 10, 2022 · 0 comments
Open

Missing UCRT64 support in strip-python.sh #18

JaiSoone opened this issue Mar 10, 2022 · 0 comments

Comments

@JaiSoone
Copy link

Similar to what's done in ffbuild.sh, UCRT64 could be supported by something like:
if [ "$MSYSTEM" == "MINGW32" ]; then
PACKAGE=mingw-w64-i686-python
PIP_PACKAGE=mingw-w64-i686-python-pip
SETUPTOOLS_PACKAGE=mingw-w64-i686-python-setuptools
elif [ "$MSYSTEM" = "MINGW64" ]; then
PACKAGE=mingw-w64-x86_64-python
PIP_PACKAGE=mingw-w64-x86_64-python-pip
SETUPTOOLS_PACKAGE=mingw-w64-x86_64-python-setuptools
elif [ "$MSYSTEM" = "UCRT64" ]; then
PACKAGE=mingw-w64-ucrt-x86_64-python
PIP_PACKAGE=mingw-w64-ucrt-x86_64-python-pip
SETUPTOOLS_PACKAGE=mingw-w64-ucrt-x86_64-python-setuptools
else
exit 2
fi

With this mod and the other fix to strip-python.sh that you just made, I'm getting further, but I suspect an error in line 520 of ffbuild.sh as I see:
.
.
.

removed directory './pycache'
Copying tcl/tk...
Stripping Python cache files (.pyc,.pyo,pycache)...
Copying the Python extension dlls...
The executable: /home/NateJoe/ff-build/target/ucrt64/bin/fontforge.exe
MSYS root: C:\msys64
FFEX root: C:\msys64\home\NateJoe\ff-build\target\ucrt64\bin
C:/msys64/home/NateJoe/ff-build/ReleasePackage/lib/python3.9/lib-dynload/*.dll: not found
Copying the FontForge executable...
Copying the libraries required by FontForge...
Generating the version file...
Adding in debugging utilities...
Build complete.

The only things I have in:
C:\msys64\home\NateJoe\ff-build\ReleasePackage\lib\python3.9\lib-dynload
are .pyd files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant