mirror of
https://github.com/tmux/tmux.git
synced 2025-04-29 09:18:47 +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_CPP
|
||||||
AC_PROG_EGREP
|
AC_PROG_EGREP
|
||||||
AC_PROG_INSTALL
|
AC_PROG_INSTALL
|
||||||
|
PKG_PROG_PKG_CONFIG
|
||||||
|
|
||||||
# Default tmux.conf goes in /etc not ${prefix}/etc.
|
# Default tmux.conf goes in /etc not ${prefix}/etc.
|
||||||
test "$sysconfdir" = '${prefix}/etc' && sysconfdir=/etc
|
test "$sysconfdir" = '${prefix}/etc' && sysconfdir=/etc
|
||||||
@ -47,6 +48,7 @@ AC_ARG_ENABLE(
|
|||||||
)
|
)
|
||||||
if test "x$found_static" = xyes; then
|
if test "x$found_static" = xyes; then
|
||||||
LDFLAGS="$LDFLAGS -static"
|
LDFLAGS="$LDFLAGS -static"
|
||||||
|
PKG_CONFIG="pkg-config --static"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Is this gcc?
|
# Is this gcc?
|
||||||
|
Loading…
Reference in New Issue
Block a user