bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH libpthread] Use glibc Makerules to install a relative library sym


From: David Michael
Subject: [PATCH libpthread] Use glibc Makerules to install a relative library symlink
Date: Mon, 11 May 2015 12:07:33 -0400

* Makefile (install-lib): New variable.
(install-lib-ldscripts): Remove variable.
($(inst_libdir)/libpthread.so): Remove rule.
---

Hi,

Thanks for all the recent glibc/libpthread updates.  They greatly
simplify things.  This is the only other libpthread change I've been
carrying locally.  It installs libpthread.so as a relative symlink using
the glibc Makerules setup.  Can this be applied in the glibc branches?

Thanks.

David

 Makefile | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/Makefile b/Makefile
index b8dee58..bfdae7b 100644
--- a/Makefile
+++ b/Makefile
@@ -196,7 +196,7 @@ vpath %.c
 
 extra-libs := libpthread
 extra-libs-others := $(extra-libs)
-install-lib-ldscripts := libpthread.so
+install-lib := libpthread.so
 
 include ../Makeconfig
 endif
@@ -273,10 +273,6 @@ $(inst_libdir)/libpthread2_pic.a: 
$(inst_libdir)/libpthread_pic.a
        $(INSTALL_DATA) $(srcdir)/libpthread_pic.a $<
 
 ifeq ($(IN_GLIBC),yes)
-$(inst_libdir)/libpthread.so: $(objpfx)libpthread.so$(libpthread.so-version) \
-                             $(+force)
-       ln -sf $(slibdir)/libpthread.so$(libpthread.so-version) $@
-
 libc-link.so = $(common-objpfx)libc.so
 
 extra-B-pthread.so = -B$(common-objpfx)libpthread/
-- 
2.1.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]