diff --git a/xapian-bindings/configure.ac b/xapian-bindings/configure.ac
index f694aa8..a8d9ae9 100644
a
|
b
|
if test no != "$with_python" ; then
|
272 | 272 | mingw* | pw32*) |
273 | 273 | PYTHON_LIBS=`$PYTHON -c 'import os,sys;print("-L"+os.path.join(sys.prefix,"libs").replace(os.sep,"/")+" -lpython"+sys.version[[:3]].replace(".",""))'` ;; |
274 | 274 | cygwin*) |
275 | | PYTHON_LIBS=`$PYTHON -c 'import os,sys;print("-L"+os.path.join(sys.path[[3]],"config")+" -lpython"+sys.version[[:3]]')` ;; |
| 275 | PYTHON_LIBS=`$PYTHON -c 'import os,sys;print("-L"+os.path.join(sys.path[[3]],"config")+" -lpython"+sys.version[[:3]])'` ;; |
276 | 276 | *) |
277 | 277 | PYTHON_LIBS= ;; |
278 | 278 | esac |