summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2020-12-18 23:41:07 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2020-12-18 23:41:07 +0000
commitbd4c3768a5b02b4ceca03942721ff37df78ab192 (patch)
tree68ecf6c9c1358283882e9dcfaa27eba6be77e61d /configure
parent673daedab4a8eb3660867b8de99d75c892a987b8 (diff)
downloads6-linux-utils-bd4c3768a5b02b4ceca03942721ff37df78ab192.tar.xz
Prepare for 2.5.1.4
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure14
1 files changed, 7 insertions, 7 deletions
diff --git a/configure b/configure
index aa3f723..c7f25bd 100755
--- a/configure
+++ b/configure
@@ -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