libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit 663d2dea117e6383c8862ade634eb169d81b6452
parent c9ad7cda512d589cfaf175b9cce939d892471f9b
Author: LRN <lrn1986@gmail.com>
Date:   Tue, 21 Apr 2015 18:13:46 +0000

Make libplatform_interface.la a dependency where appropriate

Trying to fix this buildslave error:
make[3]: *** No rule to make target '../../src/platform/libplatform_interface.la', needed by 'libmicrohttpd.la'.  Stop.


Diffstat:
Msrc/microhttpd/Makefile.am | 2++
Msrc/testcurl/Makefile.am | 8++++++++
2 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/src/microhttpd/Makefile.am b/src/microhttpd/Makefile.am @@ -74,6 +74,8 @@ libmicrohttpd_la_LDFLAGS = \ -version-info @LIB_VERSION_CURRENT@:@LIB_VERSION_REVISION@:@LIB_VERSION_AGE@ libmicrohttpd_la_LIBADD = \ $(MHD_W32_LIB) $(MHD_LIBDEPS) +libmicrohttpd_la_DEPENDENCIES = \ + $(MHD_W32_LIB) if HAVE_W32 MHD_DLL_RES_SRC = microhttpd_dll_res.rc diff --git a/src/testcurl/Makefile.am b/src/testcurl/Makefile.am @@ -149,9 +149,13 @@ test_get_sendfile_SOURCES = \ test_get_sendfile_LDADD = \ $(top_builddir)/src/microhttpd/libmicrohttpd.la \ @LIBCURL@ +test_get_sendfile_DEPENDENCIES = + if HAVE_W32 test_get_sendfile_LDADD += \ $(top_builddir)/src/platform/libplatform_interface.la +test_get_sendfile_DEPENDENCIES += \ + $(top_builddir)/src/platform/libplatform_interface.la endif test_urlparse_SOURCES = \ @@ -230,9 +234,13 @@ test_get_sendfile11_SOURCES = \ test_get_sendfile11_LDADD = \ $(top_builddir)/src/microhttpd/libmicrohttpd.la \ @LIBCURL@ +test_get_sendfile11_DEPENDENCIES = + if HAVE_W32 test_get_sendfile11_LDADD += \ $(top_builddir)/src/platform/libplatform_interface.la +test_get_sendfile11_DEPENDENCIES += \ + $(top_builddir)/src/platform/libplatform_interface.la endif test_post11_SOURCES = \