$OpenBSD: patch-gdk-pixbuf_Makefile_in,v 1.3 2003/06/30 03:59:03 marcm Exp $
--- gdk-pixbuf/Makefile.in.orig	Mon Jun  9 14:26:02 2003
+++ gdk-pixbuf/Makefile.in	Thu Jun 19 09:54:26 2003
@@ -429,7 +429,7 @@ libgdk_pixbuf_2_0_la_SOURCES = @STRIP_BE
 @STRIP_END@
 
 libgdk_pixbuf_2_0_la_LDFLAGS = @STRIP_BEGIN@ \
-	-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)    \
+	-version-info $(OBSD_LIB_VERSION)    \
 	@LIBTOOL_EXPORT_OPTIONS@				\
 	$(no_undefined)						\
 	$(gdk_pixbuf_symbols)					\
@@ -1360,7 +1360,7 @@ gdk-pixbuf.loaders: $(loader_LTLIBRARIES
 	LOADERS=`echo libpixbufloader-*.la` ; \
 	if test "x$$LOADERS" != 'xlibpixbufloader-*.la' ; then \
           echo "Writing a gdk-pixbuf.loader file to use when running examples before installing gdk-pixbuf."; \
-	  $(top_builddir)/gdk-pixbuf/gdk-pixbuf-query-loaders $$LOADERS > ./gdk-pixbuf.loaders ;\
+	  LD_LIBRARY_PATH=$(top_builddir)/gdk-pixbuf/.libs $(top_builddir)/gdk-pixbuf/gdk-pixbuf-query-loaders $$LOADERS > ./gdk-pixbuf.loaders ;\
 	else \
           echo "No dynamic modules found; will use only static modules for uninstalled example programs."; \
 	  touch gdk-pixbuf.loaders; \
