1999-07-31 Ulrich Drepper <drepper@cygnus.com>
+ * Makeconfig (link-libc): Always define it, not only for shared
+ builds.
+
* sysdeps/i386/fpu/e_pow.S: Use addl %esp instead of pop.
* sysdeps/i386/fpu/e_powf.S: Likewise.
* sysdeps/i386/fpu/e_powl.S: Likewise. [PR libc/1213].
link-libc = -Wl,-rpath-link=$(rpath-link) \
$(common-objpfx)libc.so$(libc.so-version) \
$(common-objpfx)$(patsubst %,$(libtype.oS),c) $(gnulib)
-# Choose the default search path for the dynamic linker based on
-# where we will install libraries.
-ifneq ($(libdir),$(slibdir))
-default-rpath = $(slibdir):$(libdir)
-else
-default-rpath = $(libdir)
-endif
# This is how to find at build-time things that will be installed there.
rpath-dirs = math elf dlfcn nss nis db2 rt resolv
rpath-link = \
endif
endif
+# Choose the default search path for the dynamic linker based on
+# where we will install libraries.
+ifneq ($(libdir),$(slibdir))
+default-rpath = $(slibdir):$(libdir)
+else
+default-rpath = $(libdir)
+endif
+
ifndef link-extra-libs
ifeq (yes,$(build-shared))
ifneq ($(common-objpfx),$(objpfx))