mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-16 16:50:06 +02:00
Python: fix secondary arch build.
Wrong library paths would lead to missing modules, and crashes.
This commit is contained in:
@@ -11,11 +11,16 @@ OSI-approved open source license.
|
||||
HOMEPAGE="http://www.python.org"
|
||||
LICENSE="Python"
|
||||
COPYRIGHT="1990-2017, Python Software Foundation"
|
||||
REVISION="2"
|
||||
REVISION="3"
|
||||
SOURCE_URI="https://www.python.org/ftp/python/$portVersion/Python-$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="cda7d967c9a4bfa52337cdf551bcc5cff026b6ac50a8834e568ce4a794ca81da"
|
||||
SOURCE_DIR="Python-$portVersion"
|
||||
PATCHES="python3-$portVersion.patchset"
|
||||
if [ $secondaryArchSuffix = _x86 ] ; then
|
||||
PATCHES+="
|
||||
python3_x86-$portVersion.patchset
|
||||
"
|
||||
fi
|
||||
|
||||
ARCHITECTURES=" !x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
@@ -101,7 +106,7 @@ BUILD()
|
||||
autoconf
|
||||
export OPT=""
|
||||
runConfigure --omit-dirs binDir,includeDir ./configure \
|
||||
--enable-shared --without-ensurepip \
|
||||
--enable-shared --without-ensurepip --with-system-ffi \
|
||||
--with-system-expat --bindir=$commandBinDir --includedir=$developDir/headers
|
||||
|
||||
# prevent make from rebuilding stuff that requires python
|
||||
|
||||
Reference in New Issue
Block a user