From 4366cd5474c6e7e8948a7fd86c799a2259f1bf55 Mon Sep 17 00:00:00 2001 From: snowdrop Date: Tue, 6 Jan 2004 08:03:45 +0000 Subject: removed libxml2 libraries and added LIBSOCKET and LIBNSL (for Solaris) --- examples/nanohttp/Makefile.am | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'examples') diff --git a/examples/nanohttp/Makefile.am b/examples/nanohttp/Makefile.am index 221f469..2901d25 100644 --- a/examples/nanohttp/Makefile.am +++ b/examples/nanohttp/Makefile.am @@ -1,15 +1,17 @@ bin_PROGRAMS=httpget httpgetcb httppost INCLUDES=-I$(top_srcdir)/ +LDFLAGS=-L$(top_builddir)/nanohttp -lnanohttp-$(GENERIC_API_VERSION) \ + $(LIBSOCKET) $(LIBNSL) httpget_SOURCES=httpget.c -httpget_LDFLAGS=-L$(top_builddir)/nanohttp -lnanohttp-$(GENERIC_API_VERSION) +httpget_LDFLAGS=$(LDFLAGS) httpgetcb_SOURCES=httpgetcb.c -httpgetcb_LDFLAGS=-L$(top_builddir)/nanohttp -lnanohttp-$(GENERIC_API_VERSION) +httpgetcb_LDFLAGS=$(LDFLAGS) httppost_SOURCES=httppost.c -httppost_LDFLAGS=-L$(top_builddir)/nanohttp -lnanohttp-$(GENERIC_API_VERSION) +httppost_LDFLAGS=$(LDFLAGS) -- cgit v1.1-32-gdbae