mirror of
https://github.com/tmate-io/tmate.git
synced 2026-01-23 02:24:06 +00:00
Need to use pkg-config --static when doing a static build.
This commit is contained in:
parent
845a664bb2
commit
92f187d1c2
1 changed files with 2 additions and 0 deletions
|
|
@ -18,6 +18,7 @@ AM_PROG_CC_C_O
|
|||
AC_PROG_CPP
|
||||
AC_PROG_EGREP
|
||||
AC_PROG_INSTALL
|
||||
PKG_PROG_PKG_CONFIG
|
||||
|
||||
# Default tmux.conf goes in /etc not ${prefix}/etc.
|
||||
test "$sysconfdir" = '${prefix}/etc' && sysconfdir=/etc
|
||||
|
|
@ -47,6 +48,7 @@ AC_ARG_ENABLE(
|
|||
)
|
||||
if test "x$found_static" = xyes; then
|
||||
LDFLAGS="$LDFLAGS -static"
|
||||
PKG_CONFIG="pkg-config --static"
|
||||
fi
|
||||
|
||||
# Is this gcc?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue