aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-05-25 11:14:28 +0000
committerUlrich Drepper <drepper@redhat.com>1998-05-25 11:14:28 +0000
commite72bfd87ecf619d642b505d4a290331263456cd1 (patch)
treec4699015c96bb3d54889993807beeade6e07f10e
parentb48abe3cc82b87c152072920756a80af775a1fe3 (diff)
downloadglibc-e72bfd87ecf619d642b505d4a290331263456cd1.tar
glibc-e72bfd87ecf619d642b505d4a290331263456cd1.tar.gz
glibc-e72bfd87ecf619d642b505d4a290331263456cd1.tar.bz2
glibc-e72bfd87ecf619d642b505d4a290331263456cd1.zip
Update.
* Makeconfig (rpath-link): Find libc.so.6 in $(common-objdir).
-rw-r--r--ChangeLog2
-rw-r--r--Makeconfig14
2 files changed, 8 insertions, 8 deletions
diff --git a/ChangeLog b/ChangeLog
index 067a5ac3b0..5077bab548 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
1998-05-25 Ulrich Drepper <drepper@cygnus.com>
+ * Makeconfig (rpath-link): Find libc.so.6 in $(common-objdir).
+
* malloc/thread-m.h: Use __mutex_init function in mutex_init macro
for Hurd. Patch by Mark Kettenis.
diff --git a/Makeconfig b/Makeconfig
index e81005e190..6a0d2b7f0b 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -413,14 +413,11 @@ else
default-rpath = $(libdir)
endif
# This is how to find at build-time things that will be installed there.
-rpath-link = $(common-objdir):$(mathobjdir):$(elfobjdir):$(nssobjdir):$(nisobjdir):$(dbobjdir):$(rtobjdir):$(resolvobjdir)
-mathobjdir := $(patsubst ../$(subdir),.,$(common-objpfx)math)
+rpath-dirs = math elf nss nis db2 rt resolv
+rpath-link = \
+$(common-objdir):$(subst $(empty) ,:,$(patsubst ../$(subdir),.,$(rpath-dirs:%=$(common-objpfx)%)))
elfobjdir := $(patsubst ../$(subdir),.,$(common-objpfx)elf)
-nssobjdir := $(patsubst ../$(subdir),.,$(common-objpfx)nss)
-nisobjdir := $(patsubst ../$(subdir),.,$(common-objpfx)nis)
dbobjdir := $(patsubst ../$(subdir),.,$(common-objpfx)db2)
-rtobjdir := $(patsubst ../$(subdir),.,$(common-objpfx)rt)
-resolvobjdir := $(patsubst ../$(subdir),.,$(common-objpfx)resolv)
else
link-libc = $(common-objpfx)libc.a $(gnulib) $(common-objpfx)libc.a
endif
@@ -463,7 +460,6 @@ ifeq ($(elf),yes)
endif
csu-objpfx = $(common-objpfx)csu/
elf-objpfx = $(common-objpfx)elf/
-db-objpfx = $(common-objpfx)db/
# How to run a program we just linked with our library.
# The program binary is assumed to be $(word 2,$^).
@@ -657,6 +653,8 @@ endif
ifndef BUILD_CC
BUILD_CC = $(CC)
endif
+
+move-if-change = $(SHELL) $(..)scripts/move-if-change
ifeq (yes, $(build-shared))
@@ -746,7 +744,7 @@ ifneq (,$(findstring linuxthreads,$(add-ons)))
shared-thread-library = $(common-objpfx)linuxthreads/libpthread.so
static-thread-library = $(common-objpfx)linuxthreads/libpthread.a
have-thread-library = yes
-rpath-link := $(rpath-link):$(common-objpfx)linuxthreads
+rpath-dirs += linuxthreads
endif
ifndef avoid-generated