Skip to content

Commit c3e0887

Browse files
naveen521kkjeremyd2019
authored andcommitted
Define PY3_DLLNAME to fix build
PY3_DLLNAME is used in Python/pathconfig.c but isn't defined. I guess it is useless but it will fix the build. Co-authored-by: jeremyd2019 <[email protected]>
1 parent 3d6b448 commit c3e0887

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3989,7 +3989,7 @@ then
39893989
*-*-mingw*)
39903990
DYNLOADFILE="dynload_win.o"
39913991
extra_machdep_objs="$extra_machdep_objs PC/dl_nt.o"
3992-
CFLAGS_NODIST="$CFLAGS_NODIST -DMS_DLL_ID='\"$VERSION\"'"
3992+
CFLAGS_NODIST="$CFLAGS_NODIST -DMS_DLL_ID='\"$VERSION\"' -DPY3_DLLNAME='L\"$DLLLIBRARY\"'"
39933993
;;
39943994
esac
39953995
fi

0 commit comments

Comments
 (0)