python3: enable on x86 secondary arch.

This commit is contained in:
Jerome Duval
2017-04-18 20:04:28 +00:00
parent ca4383fa88
commit 60ad57edd5

View File

@@ -18,7 +18,7 @@ SOURCE_DIR="Python-$portVersion"
PATCHES="python3-$portVersion.patchset"
ARCHITECTURES=" !x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="!x86"
SECONDARY_ARCHITECTURES="x86"
# On x86_gcc2 we don't want to install the commands in bin/<arch>/, but in bin/.
commandSuffix=$secondaryArchSuffix
@@ -115,6 +115,10 @@ INSTALL()
rm $libDir/libpython3.so
if [ "$targetArchitecture" = x86_gcc2 ]; then
# On x86_gcc2, move lib-dynload to lib/python3.x/
mv $libDir/python3.6/lib-dynload $prefix/lib/python3.6/
fi
prepareInstalledDevelLibs libpython3.6m
fixPkgconfig