mirror of
https://github.com/tmux/tmux.git
synced 2024-12-04 19:58:48 +00:00
Need to use pkg-config --static when doing a static build.
This commit is contained in:
parent
845a664bb2
commit
92f187d1c2
@ -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…
Reference in New Issue
Block a user