Skip to content

Commit e888565

Browse files
committed
+ add libffi's cflags/ldflags to _ctypes_test.c deps
1 parent 388e2ca commit e888565

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

PCbuild/_ctypes_test.vcxproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@
8787
<ImportGroup Label="PropertySheets">
8888
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
8989
<Import Project="pyproject.props" />
90+
<Import Project="libffi.props" />
9091
</ImportGroup>
9192
<PropertyGroup Label="UserMacros" />
9293
<PropertyGroup>

configure

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7790,7 +7790,7 @@ PY_STDLIB_MOD([xxsubtype], [test "$TEST_MODULES" = yes])
77907790
PY_STDLIB_MOD([_xxtestfuzz], [test "$TEST_MODULES" = yes])
77917791
PY_STDLIB_MOD([_ctypes_test],
77927792
[test "$TEST_MODULES" = yes], [test "$have_libffi" = yes -a "$ac_cv_func_dlopen" = yes],
7793-
[], [$LIBM])
7793+
[$LIBFFI_CFLAGS], [$LIBFFI_LIBS $LIBM])
77947794

77957795
dnl Limited API template modules.
77967796
dnl Emscripten does not support shared libraries yet.

0 commit comments

Comments
 (0)