$OpenBSD: patch-examples_Makefile_in,v 1.12 2005/12/01 15:41:09 bernd Exp $
--- examples/Makefile.in.orig	Tue Nov 29 06:30:47 2005
+++ examples/Makefile.in	Wed Nov 30 15:34:05 2005
@@ -721,7 +721,7 @@ pango.modules: $(top_builddir)/pango/pan
 	if find ../modules -name '*.so' | grep 'so' > /dev/null ; then \
           echo "Writing a pango.modules file to use when running examples before installing Pango."; \
 	  (cd ../modules && \
-           $(top_builddir)/pango/pango-querymodules `find . -name '*.la' | grep -v \.libs` > ../examples/pango.modules ) ;\
+           LD_LIBRARY_PATH=$(top_builddir)/pango/.libs $(top_builddir)/pango/pango-querymodules `find . -name '*.la' | grep -v \.libs` > ../examples/pango.modules ) ;\
 	else \
           echo "No dynamic modules found; will use only static modules for uninstalled example programs."; \
 	  touch pango.modules; \
