Skip to content

Commit 5561d94

Browse files
committed
Bumped libFFI version.
1 parent 3181abc commit 5561d94

File tree

2 files changed

+1
-212
lines changed

2 files changed

+1
-212
lines changed

Makefile

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ BZIP2_VERSION=1.0.8
4848

4949
XZ_VERSION=5.2.5
5050

51-
LIBFFI_VERSION=3.3
51+
LIBFFI_VERSION=3.4.2
5252

5353
# Supported OS
5454
OS=macOS iOS tvOS watchOS
@@ -492,12 +492,6 @@ $$(LIBFFI_DIR-$1)/darwin_common: downloads/libffi-$(LIBFFI_VERSION).tgz
492492
# Unpack sources
493493
mkdir -p $$(LIBFFI_DIR-$1)
494494
tar zxf downloads/libffi-$(LIBFFI_VERSION).tgz --strip-components 1 -C $$(LIBFFI_DIR-$1)
495-
# Apply libffi patches. Apple builds of libffi use a utility script; that
496-
# script doesn't work with Python3 using the out-of-the-box version in
497-
# libffi 3.3. This patch adds some changes that will be included in libFFI
498-
# 3.4 (whenever that is released), plus some extra targets to support
499-
# tvOS and watchOS.
500-
cd $$(LIBFFI_DIR-$1) && patch -p1 < $(PROJECT_DIR)/patch/libffi/libffi.patch
501495
# Configure the build
502496
cd $$(LIBFFI_DIR-$1) && python generate-darwin-source-and-headers.py --only-$(shell echo $1 | tr '[:upper:]' '[:lower:]')
503497

patch/libffi/libffi.patch

Lines changed: 0 additions & 205 deletions
This file was deleted.

0 commit comments

Comments
 (0)