diff options
author | Roland McGrath <roland@gnu.org> | 2005-02-16 19:57:14 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2005-02-16 19:57:14 +0000 |
commit | 7cd274587760436effbfce65cfdbd51f761acd67 (patch) | |
tree | 8620654b8197c81aded8a206680e53b4294baccf /Makeconfig | |
parent | aa29d418cf3ee21f906247b6ab49e8aab6fd19dc (diff) |
Updated to fedora-glibc-2_3-20050216T1256
Diffstat (limited to 'Makeconfig')
-rw-r--r-- | Makeconfig | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/Makeconfig b/Makeconfig index d267e5af21..1a9ad873e5 100644 --- a/Makeconfig +++ b/Makeconfig @@ -480,32 +480,21 @@ default-rpath = $(libdir) endif ifndef link-extra-libs -ifeq (yes,$(build-shared)) -ifneq ($(common-objpfx),$(objpfx)) -link-extra-libs = $(foreach lib,$(LDLIBS-$(@F)),\ - $(wildcard $(common-objpfx)$(lib).so$($(notdir $(lib)).so-version) \ - $(objpfx)$(lib).so$($(notdir $(lib)).so-version))) -else -link-extra-libs = $(foreach lib,$(LDLIBS-$(@F)),$(common-objpfx)$(lib).so$($(notdir $(lib)).so-version)) -endif -else -link-extra-libs = $(foreach lib,$(LDLIBS-$(@F)),$(common-objpfx)$(lib).a) -endif +link-extra-libs = $(LDLIBS-$(@F)) +link-extra-libs-static = $(link-extra-libs) +link-extra-libs-bounded = $(link-extra-libs) endif # The static libraries. ifeq (yes,$(build-static)) link-libc-static = $(common-objpfx)libc.a $(static-gnulib) $(common-objpfx)libc.a -link-extra-libs-static = $(foreach lib,$(LDLIBS-$(@F)),$(common-objpfx)$(lib).a) else ifeq (yes,$(build-shared)) # We can try to link the programs with lib*_pic.a... link-libc-static = $(static-gnulib) $(common-objpfx)libc_pic.a -link-extra-libs-static = $(link-extra-libs) endif endif link-libc-bounded = $(common-objpfx)libc_b.a $(gnulib) $(common-objpfx)libc_b.a -link-extra-libs-bounded = $(foreach lib,$(LDLIBS-$(@F:%-bp=%)),$(common-objpfx)$(lib)_b.a) ifndef gnulib ifneq ($(have-cc-with-libunwind),yes) |