From f84cfccb0634903c65d6bfc19a3dd62c41ddf38a Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Mon, 17 Dec 2012 13:52:04 +0100 Subject: [PATCH] pycrypto: fix build Signed-off-by: Stephan Raue --- packages/python/security/pycrypto/build | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/packages/python/security/pycrypto/build b/packages/python/security/pycrypto/build index 69832db409..ba3aaa50c4 100755 --- a/packages/python/security/pycrypto/build +++ b/packages/python/security/pycrypto/build @@ -22,10 +22,17 @@ . config/options $1 +PYTHON_LIBDIR="`ls -d $SYSROOT_PREFIX/usr/lib/python*`" export PYTHONXCPREFIX="$SYSROOT_PREFIX/usr" export LDFLAGS="$LDFLAGS -L$SYSROOT_PREFIX/usr/lib -L$SYSROOT_PREFIX/lib" cd $PKG_BUILD +./configure --host=$TARGET_NAME \ + --build=$HOST_NAME \ + --prefix=/usr \ + --sysconfdir=/etc \ + --without-gmp \ + --without-mpir python setup.py build --cross-compile python setup.py install --root=./.install --prefix=/usr