diff --git a/dev-lang/python/python3-3.6.1.recipe b/dev-lang/python/python3-3.6.1.recipe index 2f64536af..d13a81f16 100644 --- a/dev-lang/python/python3-3.6.1.recipe +++ b/dev-lang/python/python3-3.6.1.recipe @@ -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//, 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