From 0d4816e865a245ccfa78933a631eea394f8df13d Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Tue, 25 Jun 2019 19:19:34 +0300 Subject: [PATCH] python: Fix build error. --- extra/python/build | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/extra/python/build b/extra/python/build index 6daf22f8..042e5c6a 100755 --- a/extra/python/build +++ b/extra/python/build @@ -1,7 +1,12 @@ #!/bin/sh -e +# Force system libs +rm -r Modules/_ctypes/darwin* \ + Modules/_ctypes/libffi* + ./configure \ - --prefix=/usr + --prefix=/usr \ + --with-system-ffi make make DESTDIR="$1" install