summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2017-08-03 00:50:29 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2017-08-03 00:50:29 +0200
commitd3b47d4482e0c8372f51472d9d075a89759919ea (patch)
tree67c8be06594a07b93c5125dc03b93020d54cd35f
parent44873df420d128972644ef3901c7d917ca3b7dd7 (diff)
Make statically linking libpthread pull libihash
This is used by tests link, which would fail linking if libihash is not brought in. * Makeconfig (static-thread-library): Add -lihash.
-rw-r--r--Makeconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makeconfig b/Makeconfig
index e90f5f7..ba3f29e 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -5,7 +5,8 @@ have-thread-library = yes
shared-thread-library = $(common-objpfx)libpthread/libpthread_nonshared.a \
$(common-objpfx)libpthread/libpthread.so
-static-thread-library = $(common-objpfx)libpthread/libpthread.a
+static-thread-library = $(common-objpfx)libpthread/libpthread.a \
+ -lihash
bounded-thread-library = $(static-thread-library)
rpath-dirs += libpthread