-# $PostgreSQL: pgsql/src/pl/plpython/Makefile,v 1.22 2005/08/12 20:57:11 momjian Exp $
+# $PostgreSQL: pgsql/src/pl/plpython/Makefile,v 1.23 2005/08/12 21:44:51 momjian Exp $
subdir = src/pl/plpython
top_builddir = ../../..
# shared library. Since there is no official way to determine this
# (at least not in pre-2.3 Python), we see if there is a file that is
# named like a shared library.
-ifneq (,$(wildcard $(python_libdir)/../../libpython*$(DLSUFFIX)*))
+ifneq (,$(wildcard $(python_libdir)/libpython*$(DLSUFFIX)*))
shared_libpython = yes
endif