Skip to content

Commit 84b0cdb

Browse files
committed
#4532 another fixup: must preserve leading slash to find dir
1 parent 75aedcf commit 84b0cdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2530,7 +2530,7 @@ def bundle_tests() -> None:
25302530
if pkg_config_ok("--exists", "pam", "pam_misc"):
25312531
pam_kwargs = pkgconfig("pam", "pam_misc")
25322532
else:
2533-
sec_dir = os.path.dirname(find_header_file("security", isdir=True))
2533+
sec_dir = os.path.dirname(find_header_file("/security", isdir=True))
25342534
pam_kwargs = {
25352535
"extra_compile_args": "-I" + sec_dir,
25362536
"extra_link_args": ("-lpam", "-lpam_misc"),

0 commit comments

Comments
 (0)