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:
@@ -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
|
||||
|
||||
|
||||
@@ -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])
|
||||
|
||||
Reference in New Issue
Block a user