summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Michael <fedora.dm0@gmail.com>2015-05-14 02:14:35 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2015-05-14 02:14:35 +0200
commit7a8d1d699a5825cdc382629bc4e759b737093d99 (patch)
tree82926df35eaa5eeec8707dd6ed63053d5fea48e6
parent1bba351004eb43b8f83cd9c58cf442a6d3e9642a (diff)
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.
-rw-r--r--Makefile6
1 files changed, 1 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 2906788..f4db283 100644
--- a/Makefile
+++ b/Makefile
@@ -198,7 +198,7 @@ vpath %.c
extra-libs := libpthread
extra-libs-others := $(extra-libs)
-install-lib-ldscripts := libpthread.so
+install-lib := libpthread.so
include ../Makeconfig
endif
@@ -275,10 +275,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/