summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2012-04-22 00:50:37 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2012-04-22 00:50:37 +0000
commit23e100abfe088d846df479ab176cba28f43a7814 (patch)
tree6d80404fa395d642a5fdc70835dfeef0639d0181
parentc310aa40efd3b2d954354e0550b1bbb6a8e7e349 (diff)
Set -B option to find libpthread.so
* Makefile (extra-B-pthread.so): Define.
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index b291177..73f90da 100644
--- a/Makefile
+++ b/Makefile
@@ -264,6 +264,8 @@ endif
ifeq ($(IN_GLIBC),yes)
libc-link.so = $(common-objpfx)libc.so
+extra-B-pthread.so = -B$(common-objpfx)libpthread/
+
include ../Rules
# Depend on libc.so so a DT_NEEDED is generated in the shared objects.