File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / iperf / config / iperf_config_static_bin.m4
Revision 1.1.1.2 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Wed Sep 27 11:14:54 2023 UTC (9 months ago) by misho
Branches: iperf, MAIN
CVS tags: v3_15, HEAD
Version 3.15

# 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"]
 [])

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>