You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
369 B
13 lines
369 B
# Also link binaries as static
|
|
AC_ARG_ENABLE([static-bin],
|
|
AS_HELP_STRING([--enable-static-bin], [link iperf3 binary statically]),
|
|
[enable_static=yes
|
|
enable_shared=no
|
|
enable_static_bin=yes],
|
|
[:])
|
|
AM_CONDITIONAL([ENABLE_STATIC_BIN], [test x$enable_static_bin = xno])
|
|
|
|
AS_IF([test "x$enable_static_bin" == xyes],
|
|
[LDFLAGS="$LDFLAGS --static"]
|
|
[])
|