summaryrefslogtreecommitdiff
path: root/src/microhttpd/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/Makefile.am')
-rw-r--r--src/microhttpd/Makefile.am7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/microhttpd/Makefile.am b/src/microhttpd/Makefile.am
index 13c2fa65..4d0f81ce 100644
--- a/src/microhttpd/Makefile.am
+++ b/src/microhttpd/Makefile.am
@@ -68,8 +68,13 @@ libmicrohttpd_la_SOURCES = \
mhd_locks.h mhd_sem.c \
mhd_sockets.c mhd_sockets.h \
mhd_itc.c mhd_itc.h \
- mhd_compat.c mhd_compat.h \
+ mhd_compat.h \
response.c response.h
+if HAVE_W32
+libmicrohttpd_la_SOURCES += \
+ mhd_compat.c
+endif
+
libmicrohttpd_la_CPPFLAGS = \
$(AM_CPPFLAGS) $(MHD_LIB_CPPFLAGS) \
-DBUILDING_MHD_LIB=1