mirror of
https://github.com/tmux/tmux.git
synced 2024-12-04 19:58:48 +00:00
No not allow static linking on macOS.
This commit is contained in:
parent
eabbc80b75
commit
7f40c5b647
@ -69,6 +69,11 @@ AC_ARG_ENABLE(
|
||||
AS_HELP_STRING(--enable-static, create a static build)
|
||||
)
|
||||
if test "x$enable_static" = xyes; then
|
||||
case "$host_os" in
|
||||
*darwin*)
|
||||
AC_MSG_ERROR([static linking is not supported on macOS])
|
||||
;;
|
||||
esac
|
||||
test "x$PKG_CONFIG" != x && PKG_CONFIG="$PKG_CONFIG --static"
|
||||
AM_LDFLAGS="-static $AM_LDFLAGS"
|
||||
LDFLAGS="$AM_LDFLAGS $SAVED_LDFLAGS"
|
||||
|
Loading…
Reference in New Issue
Block a user