aprpp <916495...@qq.com> added the comment: The platform i build python3.7.12 on is Ubuntu18.04, I would like to know how the modules I fail to build, like _ctypes, should be added in Modules/Setup. The steps for my build are: 1.tar -zxvf Python-3.7.12.tgz && cd Python-3.7.12 2.edit Modules/Setup, add modules build definitions in the Modules/Setup 3../configure LDFLAGS="-static" --disable-shared --prefix=/home/python3 4.make LDFLAGS="-static" LINKFORSHARED=" "
How to build python3.7 statically without relying on editing Modules/Setup? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue46854> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com