93 |
if [[ ${ARCH} = x86_64 ]] |
if [[ ${ARCH} = x86_64 ]] |
94 |
then |
then |
95 |
# move config header |
# move config header |
96 |
all-abis mv -v ${BINDIR}/usr/include/python${PVER%.*}/pyconfig{,'${abi}'}.h |
mv -v ${BINDIR}/usr/include/python${PVER%.*}/pyconfig{,${abi}}.h |
97 |
|
|
98 |
# install a stub header |
# install a stub header |
99 |
cat > ${BINDIR}/usr/include/python${PVER%.*}/pyconfig.h << "EOF" |
cat > ${BINDIR}/usr/include/python${PVER%.*}/pyconfig.h << "EOF" |
114 |
#endif /* __STUB__PYCONFIG_H__ */ |
#endif /* __STUB__PYCONFIG_H__ */ |
115 |
EOF |
EOF |
116 |
# install the multiarch-wrapper |
# install the multiarch-wrapper |
117 |
all-abis mv -v ${BINDIR}/usr/bin/python${PYVER%.*}{,-'${abi}'} |
mv -v ${BINDIR}/usr/bin/python${PYVER%.*}{,-${abi}} |
118 |
mlink multiarch-wrapper /usr/bin/python${PYVER%.*} |
mlink multiarch-wrapper /usr/bin/python${PYVER%.*} |
119 |
fi |
fi |
120 |
done |
done |