Skip to content

Commit

Permalink
Fixed #116 - Corrects FFI compiler flags on iOS.
Browse files Browse the repository at this point in the history
  • Loading branch information
freakboy3742 committed Apr 5, 2021
1 parent a26543c commit 69d4301
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 1 addition & 2 deletions patch/Python/Setup.iOS
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ _ctypes _ctypes/_ctypes.c \
-I$(srcdir)/Modules/_ctypes/darwin \
-I$(srcdir)/../Support/libFFI/Headers \
-DPy_BUILD_CORE_MODULE \
-DHAVE_FFI_PREP_CIF_VAR=1 \
-DHAVE_FFI_PREP_CLOSURE_LOC=1 -DHAVE_FFI_CLOSURE_ALLOC=1 \
-DHAVE_FFI_PREP_CLOSURE_LOC=1 \
-L$(srcdir)/../Support/libFFI \
-lFFI

Expand Down
3 changes: 1 addition & 2 deletions patch/Python/Setup.tvOS
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ _ctypes _ctypes/_ctypes.c \
-I$(srcdir)/Modules/_ctypes/darwin \
-I$(srcdir)/../Support/libFFI/Headers \
-DPy_BUILD_CORE_MODULE \
-DHAVE_FFI_PREP_CIF_VAR=1 \
-DHAVE_FFI_PREP_CLOSURE_LOC=1 -DHAVE_FFI_CLOSURE_ALLOC=1 \
-DHAVE_FFI_PREP_CLOSURE_LOC=1 \
-L$(srcdir)/../Support/libFFI \
-lFFI

Expand Down
3 changes: 1 addition & 2 deletions patch/Python/Setup.watchOS
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ _ctypes _ctypes/_ctypes.c \
-I$(srcdir)/Modules/_ctypes/darwin \
-I$(srcdir)/../Support/libFFI/Headers \
-DPy_BUILD_CORE_MODULE \
-DHAVE_FFI_PREP_CIF_VAR=1 \
-DHAVE_FFI_PREP_CLOSURE_LOC=1 -DHAVE_FFI_CLOSURE_ALLOC=1 \
-DHAVE_FFI_PREP_CLOSURE_LOC=1 \
-L$(srcdir)/../Support/libFFI \
-lFFI

Expand Down

0 comments on commit 69d4301

Please sign in to comment.