Skip to content

Commit

Permalink
document --enable-static in place of STATIC=1
Browse files Browse the repository at this point in the history
  • Loading branch information
mkj committed Jun 27, 2017
1 parent a9a3746 commit 785459d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
6 changes: 5 additions & 1 deletion INSTALL
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@ recompiling - bad things will happen otherwise)

See MULTI for instructions on making all-in-one binaries.

If you want to compile statically, add "STATIC=1" to the make command-line.
If you want to compile statically use ./configure --enable-static

By default Dropbear adds various build flags that improve robustness
against programming bugs (good for security) - if these cause problems
they can be disabled with ./configure --disable-harden

Binaries can be stripped with "make strip"

Expand Down
5 changes: 2 additions & 3 deletions Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,11 @@
# @configure_input@

# invocation:
# make PROGRAMS="dropbear dbclient scp" MULTI=1 STATIC=1 SCPPROGRESS=1
# make PROGRAMS="dropbear dbclient scp" MULTI=1 SCPPROGRESS=1
#
# to make a multiple-program statically linked binary "staticdropbearmulti".
# to make a multiple-program binary "dropbearmulti".
# This example will include dropbear, scp, dropbearkey, dropbearconvert, and
# dbclient functionality, and includes the progress-bar functionality in scp.
# Hopefully that seems intuitive.

ifndef PROGRAMS
PROGRAMS=dropbear dbclient dropbearkey dropbearconvert
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([])],

STATIC=0
AC_ARG_ENABLE(static,
[ --enable-static Build static binaries],
[ --enable-static Build static binaries],
[
if test "x$enableval" = "xyes"; then
STATIC=1
Expand Down

0 comments on commit 785459d

Please sign in to comment.