diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2020-12-18 23:41:07 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2020-12-18 23:41:07 +0000 |
commit | bd4c3768a5b02b4ceca03942721ff37df78ab192 (patch) | |
tree | 68ecf6c9c1358283882e9dcfaa27eba6be77e61d /configure | |
parent | 673daedab4a8eb3660867b8de99d75c892a987b8 (diff) | |
download | s6-linux-utils-bd4c3768a5b02b4ceca03942721ff37df78ab192.tar.xz |
Prepare for 2.5.1.4
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -361,13 +361,6 @@ fi LDFLAGS_SHARED="${LDFLAGS_SHARED}${addlibdpath}" -if $allstatic ; then - LDFLAGS_NOSHARED="${LDFLAGS_NOSHARED}${addlibspath}" - tryldflag LDFLAGS_NOSHARED -Wl,--gc-sections -else - LDFLAGS_NOSHARED="${LDFLAGS_NOSHARED}${addlibdpath}" -fi - if test -z "$vpaths" ; then while read dep ; do base=$(basename $dep) ; @@ -376,6 +369,13 @@ if test -z "$vpaths" ; then done < package/deps-build fi +if $allstatic ; then + LDFLAGS_NOSHARED="${LDFLAGS_NOSHARED}${addlibspath}" + tryldflag LDFLAGS_NOSHARED -Wl,--gc-sections +else + LDFLAGS_NOSHARED="${LDFLAGS_NOSHARED}${addlibdpath}" +fi + echo "Creating config.mak..." cmdline=$(quote "$0") for i ; do cmdline="$cmdline $(quote "$i")" ; done |