8000 gh-90005: Port _ctypes to PY_STDLIB_MOD by tiran · Pull Request #32229 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-90005: Port _ctypes to PY_STDLIB_MOD #32229

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Jun 26, 2022
Prev Previous commit
Next Next commit
Fix CFLAGS
  • Loading branch information
tiran committed Jun 26, 2022
commit 0b679b6fb1b11bf6b6a70976510aeadf2a402954
4 changes: 2 additions & 2 deletions configure

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -3592,12 +3592,12 @@ AS_VAR_IF([with_system_ffi], [yes], [
], [
AS_VAR_IF([ac_sys_system], [Darwin], [
WITH_SAVE_ENV([
CFLAGS="${SDKROOT}/usr/include/ffi $CFLAGS"
CFLAGS="-I${SDKROOT}/usr/include/ffi $CFLAGS"
AC_CHECK_HEADER([ffi.h], [
AC_CHECK_LIB([ffi], [ffi_call], [
dnl use ffi from SDK root
have_libffi=yes
LIBFFI_CFLAGS="${SDKROOT}/usr/include/ffi -DUSING_APPLE_OS_LIBFFI=1"
LIBFFI_CFLAGS="-I${SDKROOT}/usr/include/ffi -DUSING_APPLE_OS_LIBFFI=1"
LIBFFI_LIBS="-lffi"
], [have_libffi=no])
])
Expand Down
0