From 8e9e36074a084c614b7abcc9efae7d6772e3ccbd Mon Sep 17 00:00:00 2001 From: David Michael Date: Thu, 14 May 2015 02:14:35 +0200 Subject: Use glibc Makerules to install a relative library symlink * Makefile (install-lib): New variable. (install-lib-ldscripts): Remove variable. [IN_GLIBC] ($(inst_libdir)/libpthread.so): Remove rule. --- 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/ -- cgit v1.2.3