Skip to content

Commit 3c224ba

Browse files
committed
Fix shm_open test.
1 parent 308093a commit 3c224ba

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Tools/configure/conf_platform.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -655,7 +655,7 @@ def check_posix_shmem(v):
655655
v.POSIXSHMEM_CFLAGS = "-I$(srcdir)/Modules/_multiprocessing"
656656
v.POSIXSHMEM_LIBS = ""
657657
with pyconf.save_env():
658-
shm_open_result = pyconf.search_libs("shm_open", ["rt"])
658+
shm_open_result = pyconf.search_libs("shm_open", ["rt"], required=False)
659659
posixshmem_libs = "-lrt" if shm_open_result == "-lrt" else ""
660660
have_posix_shmem = pyconf.check_func(
661661
"shm_open", headers=["sys/mman.h"]

0 commit comments

Comments
 (0)