diff --git a/src/auto/configure b/src/auto/configure index 209ad6c6608404df88bfdcd716af462ea74acdad..651c79221d33f89e13d8389cd6c7b11a582633ee 100755 --- a/src/auto/configure +++ b/src/auto/configure @@ -5507,7 +5507,7 @@ else vi_cv_path_python3_conf= for path in "${vi_cv_path_python3_pfx}" "${vi_cv_path_python3_epfx}"; do - for subdir in lib share; do + for subdir in lib64 lib share; do d="${path}/${subdir}/python${vi_cv_var_python3_version}/config" if test -d "$d" && test -f "$d/config.c"; then vi_cv_path_python3_conf="$d" diff --git a/src/configure.in b/src/configure.in index 18c7ff1825df7a0d640b57ba491ae58315a99343..836d24284767addd7d55737306477029f8e99caa 100644 --- a/src/configure.in +++ b/src/configure.in @@ -975,7 +975,7 @@ if test "$enable_python3interp" = "yes"; then [ vi_cv_path_python3_conf= for path in "${vi_cv_path_python3_pfx}" "${vi_cv_path_python3_epfx}"; do - for subdir in lib share; do + for subdir in lib64 lib share; do d="${path}/${subdir}/python${vi_cv_var_python3_version}/config" if test -d "$d" && test -f "$d/config.c"; then vi_cv_path_python3_conf="$d"