diff options
| author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2011-01-04 09:43:14 +0000 |
|---|---|---|
| committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2011-01-04 09:43:14 +0000 |
| commit | 11dcbd755677ed1c6f6f0b136a45370fe0792010 (patch) | |
| tree | 4eb8fb269b0fa0af3f050f4f4d3303da2ac28d99 /Makefile.am | |
| parent | 03ec2482c96e38b56d34ae265c6a861ac8c25a85 (diff) | |
| download | rtmux-11dcbd755677ed1c6f6f0b136a45370fe0792010.tar.gz rtmux-11dcbd755677ed1c6f6f0b136a45370fe0792010.tar.bz2 rtmux-11dcbd755677ed1c6f6f0b136a45370fe0792010.zip | |
Support --enable-static.
Diffstat (limited to 'Makefile.am')
| -rw-r--r-- | Makefile.am | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 21683ad4..4c18852d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,4 +1,4 @@ -# $Id: Makefile.am,v 1.3 2011-01-03 23:54:51 tcunha Exp $ +# $Id: Makefile.am,v 1.4 2011-01-04 09:43:14 nicm Exp $ # Obvious program stuff. bin_PROGRAMS = tmux @@ -39,6 +39,11 @@ CPPFLAGS += -I. -I- -I/usr/local/include endif endif +# Set flags for static. +if IS_STATIC +LDFLAGS+= -static +endif + # Set flags for Solaris. if IS_SUNOS CPPFLAGS+= -D_XPG4_2 -D__EXTENSIONS__ -D_POSIX_PTHREAD_SEMANTICS |