Skip to content

Commit ddda9ad

Browse files
committed
Fix Rasbian build
1 parent 153a0b3 commit ddda9ad

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

configure

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

configure.ac

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6970,7 +6970,7 @@ fi
69706970
#
69716971
# Avoid #include <Python.h> or #include <pyport.h>. The <Python.h> header
69726972
# requires <pyconfig.h> header which is only written below by AC_OUTPUT below.
6973-
# If the check is done after AC_OUTPUT, modifying LIBATOMIC has no effect
6973+
# If the check is done after AC_OUTPUT, modifying LIBS has no effect
69746974
# anymore. <pyport.h> cannot be included alone, it's designed to be included
69756975
# by <Python.h>: it expects other includes and macros to be defined.
69766976
_SAVE_VAR([CPPFLAGS])
@@ -7014,7 +7014,7 @@ int main()
70147014
])
70157015

70167016
AS_VAR_IF([ac_cv_libatomic_needed], [yes],
7017-
[LIBATOMIC=${LIBATOMIC-"-latomic"}])
7017+
[LIBS="${LIBS} -latomic"])
70187018
_RESTORE_VAR([CPPFLAGS])
70197019

70207020

@@ -7286,10 +7286,7 @@ PY_STDLIB_MOD([_hashlib], [], [test "$ac_cv_working_openssl_hashlib" = yes],
72867286
[$OPENSSL_INCLUDES], [$OPENSSL_LDFLAGS $OPENSSL_LDFLAGS_RPATH $LIBCRYPTO_LIBS])
72877287

72887288
dnl test modules
7289-
PY_STDLIB_MOD([_testcapi],
7290-
[test "$TEST_MODULES" = yes], []
7291-
dnl Modules/_testcapi/pyatomic.c uses <cpython/pyatomic.h> header
7292-
[], [], [$LIBATOMIC])
7289+
PY_STDLIB_MOD([_testcapi], [test "$TEST_MODULES" = yes])
72937290
PY_STDLIB_MOD([_testclinic], [test "$TEST_MODULES" = yes])
72947291
PY_STDLIB_MOD([_testclinic_limited], [test "$TEST_MODULES" = yes])
72957292
PY_STDLIB_MOD([_testinternalcapi], [test "$TEST_MODULES" = yes])

0 commit comments

Comments
 (0)