--- examples/Makefile.in.orig	2003-01-19 17:21:17 UTC
+++ examples/Makefile.in
@@ -125,7 +125,7 @@ threaded_CFLAGS = @PTHREAD_CFLAGS@
 threaded_LDFLAGS = @PTHREAD_CFLAGS@ @PTHREAD_LIBS@
 
 echo_cpp_SOURCES = $(INCLUDE_FILES) $(INCLUDEDIR)/fcgio.h echo-cpp.cpp
-echo_cpp_LDADD = $(LIBDIR)/libfcgi++.la
+echo_cpp_LDADD = $(LIBDIR)/libfcgi++.la $(LIBFCGI)
 subdir = examples
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
 CONFIG_HEADER = $(top_builddir)/fcgi_config.h
