1
0
mirror of https://github.com/stedolan/jq.git synced 2024-05-11 05:55:39 +00:00

Always add -all-static when --enable-static

This commit is contained in:
Nicolas Williams
2015-05-25 14:14:53 -05:00
parent 3700b457aa
commit d66e434fb4
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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 <unistd.h>], [0])
AC_FIND_FUNC([_isatty], [c], [#include <io.h>], [0])