Always add -all-static when --enable-static
This commit is contained in:
1 parent
3700b457aa
commit
d66e434fb4
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -72,7 +72,7 @@ jq_SOURCES = main.c version.h
|
|||||||
jq_LDFLAGS = -static-libtool-libs
|
jq_LDFLAGS = -static-libtool-libs
|
||||||
jq_LDADD = libjq.la -lm
|
jq_LDADD = libjq.la -lm
|
||||||
|
|
||||||
if ENABLE_ALL_STATIC
|
if ENABLE_STATIC
|
||||||
jq_LDFLAGS += -all-static
|
jq_LDFLAGS += -all-static
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -117,7 +117,7 @@ EOF
|
|||||||
|
|
||||||
AM_CONDITIONAL([ENABLE_DOCS], [test "x$enable_docs" != xno])
|
AM_CONDITIONAL([ENABLE_DOCS], [test "x$enable_docs" != xno])
|
||||||
AM_CONDITIONAL([ENABLE_ERROR_INJECTION], [test "x$enable_error_injection" = xyes])
|
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 <unistd.h>], [0])
|
||||||
AC_FIND_FUNC([_isatty], [c], [#include <io.h>], [0])
|
AC_FIND_FUNC([_isatty], [c], [#include <io.h>], [0])
|
||||||
|
|||||||
Reference in new issue
Block a user