This is an automated email from the ASF dual-hosted git repository.

jpeach pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/trafficserver.git

The following commit(s) were added to refs/heads/master by this push:
       new  66f678e   Fix --enable-coverage build option.
66f678e is described below

commit 66f678e53bf166423ad05c5ac4e9ff499da25e79
Author: James Peach <[email protected]>
AuthorDate: Tue Apr 12 19:43:07 2016 -0700

    Fix --enable-coverage build option.
---
 configure.ac    | 2 +-
 lib/Makefile.am | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index d9d6049..efc8756 100644
--- a/configure.ac
+++ b/configure.ac
@@ -164,7 +164,7 @@ AC_MSG_RESULT([$enable_debug])
 
 # Enable code coverage instrumentation only if requested by the user.
 AC_MSG_CHECKING([whether to code coverage])
-AC_ARG_ENABLE([debug],
+AC_ARG_ENABLE([coverage],
   [AS_HELP_STRING([--enable-coverage],[generate code coverage 
instrumentation])],
   [],
   [enable_coverage=no]
diff --git a/lib/Makefile.am b/lib/Makefile.am
index 79aaf95..8a1b64b 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -48,7 +48,8 @@ all-local:
                CC="$(CC)" \
                CFLAGS="$(CFLAGS) $(LUA_CFLAGS)" \
                XCFLAGS="" \
-               LDFLAGS="$(LUA_LDFLAGS)"
+               LDFLAGS="$(LUA_LDFLAGS)" \
+               LIBS="$(LIBS)"
 
 clean-local:
        test "$(top_srcdir)" != "$(top_builddir)" || (cd 
"$(top_builddir)/$(subdir)/luajit" && $(MAKE) clean)

-- 
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].

Reply via email to