mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 03:30:05 +02:00
python3: enable on x86 secondary arch.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user