diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2013-03-07 10:09:13 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2013-03-07 10:09:13 +0000 |
commit | 89d3f13945fb790b97f25824009f1424d0934009 (patch) | |
tree | e8f4c850315b7a27b51201b46effb5986f4d592b | |
parent | f47a063841f2baa1590fb9e53713b3713a03020d (diff) | |
parent | e964ff70e696f30f0301d11deb45c8ada54e0c55 (diff) | |
download | rtmux-89d3f13945fb790b97f25824009f1424d0934009.tar.gz rtmux-89d3f13945fb790b97f25824009f1424d0934009.tar.bz2 rtmux-89d3f13945fb790b97f25824009f1424d0934009.zip |
Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code
-rw-r--r-- | configure.ac | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 84aec0fb..9e060df7 100644 --- a/configure.ac +++ b/configure.ac @@ -53,8 +53,11 @@ AM_CONDITIONAL(IS_DEBUG, test "x$found_debug" = xyes) AC_ARG_ENABLE( static, AC_HELP_STRING(--enable-static, create a static build), - [LDFLAGS="$LDFLAGS -static"] + found_static=$enable_static ) +if test "x$found_static" = xyes; then + LDFLAGS="$LDFLAGS -static" +fi # Is this gcc? AM_CONDITIONAL(IS_GCC, test "x$GCC" = xyes) |