File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -130,11 +130,11 @@ else
130130 done
131131 done
132132 fi
133- # As usual, Windows has its own ideas. c:/Windows/System32 takes the
134- # place of /usr/lib as a possible default library location, and the
135- # "lib" prefix might not be there.
136- if test "$found_shlib" != 1 -a "$PORTNAME" = win32 ; then
137- for d in "${python_libdir}" "${python_configdir}" c:/Windows/System32
133+ # As usual, Windows has its own ideas. Possible default library
134+ # locations include c:/Windows/System32 and (for Cygwin) /usr/bin,
135+ # and the "lib" prefix might not be there.
136+ if test "$found_shlib" != 1 -a \( "$PORTNAME" = win32 -o "$PORTNAME" = cygwin \) ; then
137+ for d in "${python_libdir}" "${python_configdir}" c:/Windows/System32 /usr/bin
138138 do
139139 for f in "$d/lib${ldlibrary}.dll" "$d/${ldlibrary}.dll" ; do
140140 if test -e "$f"; then
Original file line number Diff line number Diff line change @@ -7673,11 +7673,11 @@ else
76737673 done
76747674 done
76757675 fi
7676- # As usual, Windows has its own ideas. c:/Windows/System32 takes the
7677- # place of /usr/lib as a possible default library location, and the
7678- # "lib" prefix might not be there.
7679- if test " $found_shlib " ! = 1 -a " $PORTNAME " = win32 ; then
7680- for d in " ${python_libdir} " " ${python_configdir} " c:/Windows/System32
7676+ # As usual, Windows has its own ideas. Possible default library
7677+ # locations include c:/Windows/System32 and (for Cygwin) /usr/bin,
7678+ # and the "lib" prefix might not be there.
7679+ if test " $found_shlib " ! = 1 -a \( " $PORTNAME " = win32 -o " $PORTNAME " = cygwin \) ; then
7680+ for d in " ${python_libdir} " " ${python_configdir} " c:/Windows/System32 /usr/bin
76817681 do
76827682 for f in " $d /lib${ldlibrary} .dll" " $d /${ldlibrary} .dll" ; do
76837683 if test -e " $f " ; then
You can’t perform that action at this time.
0 commit comments