diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2015-12-12 22:04:25 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2015-12-12 22:04:25 +0000 |
commit | 92f187d1c2d84322860dc595da604260999a52f0 (patch) | |
tree | 32ce057c11b4c12044e6b65a9aee7566d5ea408a /configure.ac | |
parent | 845a664bb2d06ac1cdc0af37d753d107f4353955 (diff) | |
download | rtmux-92f187d1c2d84322860dc595da604260999a52f0.tar.gz rtmux-92f187d1c2d84322860dc595da604260999a52f0.tar.bz2 rtmux-92f187d1c2d84322860dc595da604260999a52f0.zip |
Need to use pkg-config --static when doing a static build.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 824b4ab2..82e8a452 100644 --- a/configure.ac +++ b/configure.ac @@ -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? |