diff options
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 |