diff options
author | David Michael <fedora.dm0@gmail.com> | 2015-05-14 02:14:35 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2015-05-14 02:15:32 +0200 |
commit | 8e9e36074a084c614b7abcc9efae7d6772e3ccbd (patch) | |
tree | b9dc993d0b5e0ecfcd9a0bd628808de21c0d7382 | |
parent | 9aa597d0457d265b9bbdc213de67a8ce9e30f60a (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-- | Makefile | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -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/ |