From 7a1934dac087295b209563d984549a48728599a3 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 25 Mar 2019 08:09:09 +0100 Subject: build: Always build libmghttpd.a --- cpukit/Makefile.am | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'cpukit/Makefile.am') diff --git a/cpukit/Makefile.am b/cpukit/Makefile.am index 51ab18ca05..b0b5a8d286 100644 --- a/cpukit/Makefile.am +++ b/cpukit/Makefile.am @@ -1902,6 +1902,11 @@ libjffs2_a_CPPFLAGS = libjffs2_a_CPPFLAGS += $(AM_CPPFLAGS) libjffs2_a_CPPFLAGS += -I$(srcdir)/libfs/src/jffs2/include +project_lib_LIBRARIES += libmghttpd.a + +libmghttpd_a_SOURCES = +libmghttpd_a_SOURCES += mghttpd/mongoose.c + project_lib_LIBRARIES += libz.a libz_a_SOURCES = @@ -1953,15 +1958,6 @@ libpppd_a_SOURCES += pppd/sys-rtems.c libpppd_a_SOURCES += pppd/upap.c libpppd_a_SOURCES += pppd/utils.c -if HAS_PTHREADS - -project_lib_LIBRARIES += libmghttpd.a - -libmghttpd_a_SOURCES = -libmghttpd_a_SOURCES += mghttpd/mongoose.c - -endif - endif if HACK_TO_AVOID_LONG_ARG_LIST -- cgit v1.2.3