mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 21:56:57 +00:00
Support --enable-static.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user