summaryrefslogtreecommitdiff
path: root/Makeconfig
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2012-01-27 15:05:19 -0500
committerUlrich Drepper <drepper@gmail.com>2012-01-27 15:05:19 -0500
commit6ee65ed6ddbf04402fad0bec6aa9c73b9d982ae4 (patch)
treea26f39ff87542c60680d6047c512b3009734bf21 /Makeconfig
parent43455e09166350b1237d2168d1b008c9f47ebaf0 (diff)
Sort objects before relocations
Diffstat (limited to 'Makeconfig')
-rw-r--r--Makeconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makeconfig b/Makeconfig
index 2db2821aa4..68547b2122 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -900,6 +900,12 @@ else
libdl = $(common-objpfx)dlfcn/libdl.a
endif
+ifeq ($(build-shared),yes)
+libm = $(common-objpfx)math/libm.so$(libm.so-version)
+else
+libm = $(common-objpfx)math/libm.a
+endif
+
# These are the subdirectories containing the library source. The order
# is more or less arbitrary. The sorting step will take care of the
# dependencies.