document --enable-static in place of STATIC=1

This commit is contained in:
Matt Johnston 2017-06-27 22:42:32 +08:00
parent a9a3746d09
commit 785459d31b
3 changed files with 8 additions and 5 deletions

View File

@ -22,7 +22,11 @@ recompiling - bad things will happen otherwise)
See MULTI for instructions on making all-in-one binaries. 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" Binaries can be stripped with "make strip"

View File

@ -2,12 +2,11 @@
# @configure_input@ # @configure_input@
# invocation: # 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 # This example will include dropbear, scp, dropbearkey, dropbearconvert, and
# dbclient functionality, and includes the progress-bar functionality in scp. # dbclient functionality, and includes the progress-bar functionality in scp.
# Hopefully that seems intuitive.
ifndef PROGRAMS ifndef PROGRAMS
PROGRAMS=dropbear dbclient dropbearkey dropbearconvert PROGRAMS=dropbear dbclient dropbearkey dropbearconvert