From b352ae03a98a61c0738a7cabfffff56a70a600e5 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Tue, 16 Dec 2014 01:09:19 +0900 Subject: [PATCH] src: Fix undefined reference error --- src/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index e8a324cb..983f512b 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -144,9 +144,9 @@ nghttpx_unittest_SOURCES = shrpx-unittest.cc \ nghttp2_gzip.c nghttp2_gzip.h nghttpx_unittest_CPPFLAGS = ${AM_CPPFLAGS}\ -DNGHTTP2_TESTS_DIR=\"$(top_srcdir)/tests\" -nghttpx_unittest_LDFLAGS = -static -nghttpx_unittest_LDADD = libnghttpx.a ${LDADD} ${AM_LDFLAGS} \ +nghttpx_unittest_LDFLAGS = ${AM_LDFLAGS} \ @CUNIT_LIBS@ @TESTLDFLAGS@ +nghttpx_unittest_LDADD = libnghttpx.a ${LDADD} TESTS += nghttpx-unittest endif # HAVE_CUNIT