commit 81464b301a53bd915195aedb3b449ac38e03b06f
parent 36ac7973809d0dae4eafb438c63a288c349c38f5
Author: Christian Grothoff <christian@grothoff.org>
Date: Wed, 7 Aug 2013 06:20:13 +0000
Removes the requirement of liberty. No longer shipped by newer gcc.
Diffstat:
2 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/doc/examples/Makefile.am b/doc/examples/Makefile.am
@@ -29,7 +29,7 @@ noinst_PROGRAMS += simplepost largepost sessions
endif
if HAVE_W32
-IBERTY=-liberty
+AM_CFLAGS = -DWINDOWS
endif
basicauthentication_SOURCES = \
@@ -45,8 +45,7 @@ hellobrowser_LDADD = \
logging_SOURCES = \
logging.c
logging_LDADD = \
- $(top_builddir)/src/microhttpd/libmicrohttpd.la \
- $(IBERTY)
+ $(top_builddir)/src/microhttpd/libmicrohttpd.la
responseheaders_SOURCES = \
responseheaders.c
diff --git a/src/examples/Makefile.am b/src/examples/Makefile.am
@@ -65,7 +65,7 @@ noinst_PROGRAMS += \
endif
if HAVE_W32
-IBERTY=-liberty
+AM_CFLAGS = -DWINDOWS
endif
minimal_example_SOURCES = \
@@ -106,8 +106,7 @@ dual_stack_example_LDADD = \
post_example_SOURCES = \
post_example.c
post_example_LDADD = \
- $(top_builddir)/src/microhttpd/libmicrohttpd.la \
- $(IBERTY)
+ $(top_builddir)/src/microhttpd/libmicrohttpd.la
minimal_example_comet_SOURCES = \
minimal_example_comet.c