From d66e434fb4a2d16f4593ee1baed8648b5504e921 Mon Sep 17 00:00:00 2001 From: Nicolas Williams Date: Mon, 25 May 2015 14:14:53 -0500 Subject: [PATCH] Always add -all-static when --enable-static --- Makefile.am | 2 +- configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 69da0746..e9f8b58e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -72,7 +72,7 @@ jq_SOURCES = main.c version.h jq_LDFLAGS = -static-libtool-libs jq_LDADD = libjq.la -lm -if ENABLE_ALL_STATIC +if ENABLE_STATIC jq_LDFLAGS += -all-static endif diff --git a/configure.ac b/configure.ac index f3e7892f..a656eab6 100644 --- a/configure.ac +++ b/configure.ac @@ -117,7 +117,7 @@ EOF AM_CONDITIONAL([ENABLE_DOCS], [test "x$enable_docs" != xno]) AM_CONDITIONAL([ENABLE_ERROR_INJECTION], [test "x$enable_error_injection" = xyes]) -AM_CONDITIONAL([ENABLE_ALL_STATIC], [test "x$enable_static" = xyes]) +AM_CONDITIONAL([ENABLE_STATIC], [test "x$enable_static" = xyes]) AC_FIND_FUNC([isatty], [c], [#include ], [0]) AC_FIND_FUNC([_isatty], [c], [#include ], [0])