--- zlib/Makefile.in.orig	2005-06-16 13:08:09.000000000 -0700
+++ zlib/Makefile.in	2005-06-16 13:08:31.000000000 -0700
@@ -214,9 +214,9 @@
 	trees.c uncompr.c zutil.c
 
 example_SOURCES = example.c
-example_LDFLAGS = -L. -lz
+example_LDFLAGS = .libs/libz.a
 minigzip_SOURCES = minigzip.c
-minigzip_LDFLAGS = -L. -lz
+minigzip_LDFLAGS = .libs/libz.a
 BUILT_SOURCES = # Doxyfile zlib.lcd
 all: $(BUILT_SOURCES) config.h
 	$(MAKE) $(AM_MAKEFLAGS) all-am
