File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 1717
1818if [ " ${AUDITWHEEL_POLICY} " == " manylinux2014" ]; then
1919 export NO_UNCOMPRESS2=1
20+ CSPRNG_METHOD=urandom
21+ # workaround build issue when openssl gets included
22+ # git provides its own implementation of ctypes which conflicts
23+ # with the one in CentOS 7. Just use the one from git.
24+ echo " " > /usr/include/ctype.h
25+ else
26+ CSPRNG_METHOD=getrandom
2027fi
2128
2229if [ -d /opt/_internal ]; then
@@ -37,7 +44,7 @@ fetch_source "${GIT_ROOT}.tar.gz" "${GIT_DOWNLOAD_URL}"
3744check_sha256sum " ${GIT_ROOT} .tar.gz" " ${GIT_HASH} "
3845tar -xzf " ${GIT_ROOT} .tar.gz"
3946pushd " ${GIT_ROOT} "
40- make install prefix=/usr/local NO_GETTEXT=1 NO_TCLTK=1 DESTDIR=/manylinux-rootfs CPPFLAGS=" ${MANYLINUX_CPPFLAGS} " CFLAGS=" ${MANYLINUX_CFLAGS} " CXXFLAGS=" ${MANYLINUX_CXXFLAGS} " LDFLAGS=" ${MANYLINUX_LDFLAGS} "
47+ make install prefix=/usr/local NO_GETTEXT=1 NO_TCLTK=1 DESTDIR=/manylinux-rootfs CSPRNG_METHOD= ${CSPRNG_METHOD} CPPFLAGS=" ${MANYLINUX_CPPFLAGS} " CFLAGS=" ${MANYLINUX_CFLAGS} " CXXFLAGS=" ${MANYLINUX_CXXFLAGS} " LDFLAGS=" ${MANYLINUX_LDFLAGS} "
4148popd
4249rm -rf " ${GIT_ROOT} " " ${GIT_ROOT} .tar.gz"
4350
You can’t perform that action at this time.
0 commit comments