summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2012-08-07 13:19:58 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2012-08-07 13:19:58 +0200
commit549aba4335946c26f2701c2b43be0e6148d27c09 (patch)
tree53820dce2aa086d2cba0a3d123b6cbd98a252f2a
parent36b80faf23f4585721355ad2501225776a0ce392 (diff)
Fix libpthread.so symlink
* Makefile ($(inst_libdir)/libpthread.so): Symlink from absolute path $(slibdir)/libpthread.so$(libpthread.so-version) instead of relative, as both files may not be in the same directory (e.g. in Debian).
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index efb486e..b6e5602 100644
--- a/Makefile
+++ b/Makefile
@@ -275,7 +275,7 @@ $(inst_libdir)/libpthread2_pic.a: $(inst_libdir)/libpthread_pic.a
ifeq ($(IN_GLIBC),yes)
$(inst_libdir)/libpthread.so: $(objpfx)libpthread.so$(libpthread.so-version) \
$(+force)
- ln -sf libpthread.so$(libpthread.so-version) $@
+ ln -sf $(slibdir)/libpthread.so$(libpthread.so-version) $@
libc-link.so = $(common-objpfx)libc.so