diff options
-rw-r--r-- | doc/examples/Makefile.am | 5 | ||||
-rw-r--r-- | src/examples/Makefile.am | 5 |
2 files changed, 4 insertions, 6 deletions
diff --git a/doc/examples/Makefile.am b/doc/examples/Makefile.am index c118584c..4cfc7be7 100644 --- a/doc/examples/Makefile.am +++ b/doc/examples/Makefile.am | |||
@@ -29,7 +29,7 @@ noinst_PROGRAMS += simplepost largepost sessions | |||
29 | endif | 29 | endif |
30 | 30 | ||
31 | if HAVE_W32 | 31 | if HAVE_W32 |
32 | IBERTY=-liberty | 32 | AM_CFLAGS = -DWINDOWS |
33 | endif | 33 | endif |
34 | 34 | ||
35 | basicauthentication_SOURCES = \ | 35 | basicauthentication_SOURCES = \ |
@@ -45,8 +45,7 @@ hellobrowser_LDADD = \ | |||
45 | logging_SOURCES = \ | 45 | logging_SOURCES = \ |
46 | logging.c | 46 | logging.c |
47 | logging_LDADD = \ | 47 | logging_LDADD = \ |
48 | $(top_builddir)/src/microhttpd/libmicrohttpd.la \ | 48 | $(top_builddir)/src/microhttpd/libmicrohttpd.la |
49 | $(IBERTY) | ||
50 | 49 | ||
51 | responseheaders_SOURCES = \ | 50 | responseheaders_SOURCES = \ |
52 | responseheaders.c | 51 | responseheaders.c |
diff --git a/src/examples/Makefile.am b/src/examples/Makefile.am index feec322f..6a2f31b5 100644 --- a/src/examples/Makefile.am +++ b/src/examples/Makefile.am | |||
@@ -65,7 +65,7 @@ noinst_PROGRAMS += \ | |||
65 | endif | 65 | endif |
66 | 66 | ||
67 | if HAVE_W32 | 67 | if HAVE_W32 |
68 | IBERTY=-liberty | 68 | AM_CFLAGS = -DWINDOWS |
69 | endif | 69 | endif |
70 | 70 | ||
71 | minimal_example_SOURCES = \ | 71 | minimal_example_SOURCES = \ |
@@ -106,8 +106,7 @@ dual_stack_example_LDADD = \ | |||
106 | post_example_SOURCES = \ | 106 | post_example_SOURCES = \ |
107 | post_example.c | 107 | post_example.c |
108 | post_example_LDADD = \ | 108 | post_example_LDADD = \ |
109 | $(top_builddir)/src/microhttpd/libmicrohttpd.la \ | 109 | $(top_builddir)/src/microhttpd/libmicrohttpd.la |
110 | $(IBERTY) | ||
111 | 110 | ||
112 | minimal_example_comet_SOURCES = \ | 111 | minimal_example_comet_SOURCES = \ |
113 | minimal_example_comet.c | 112 | minimal_example_comet.c |