summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2017-08-03 01:42:38 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2017-08-03 01:42:38 +0200
commit3142d0ded19ebd164d1ac90ee5850ed281812446 (patch)
tree4bee1f04cb8e983909be9eb00cd1e6a12a8b2579
parent046afd916ba2fd2a913c0c205547be2e69cc6964 (diff)
Fix linking glibc 2.25 tests
* Makeconfig [($(subdir) == malloc] (LDLIBS-tst-interpose-static-thread): Add -lihash. [($(subdir) == elf] (LDLIBS-tst-linkall-static): Add -lihash.
-rw-r--r--Makeconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makeconfig b/Makeconfig
index e90f5f7..a8ef68e 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -8,6 +8,13 @@ shared-thread-library = $(common-objpfx)libpthread/libpthread_nonshared.a \
static-thread-library = $(common-objpfx)libpthread/libpthread.a
bounded-thread-library = $(static-thread-library)
+ifeq ($(subdir),malloc)
+LDLIBS-tst-interpose-static-thread += -lihash
+endif
+ifeq ($(subdir),elf)
+LDLIBS-tst-linkall-static += -lihash
+endif
+
rpath-dirs += libpthread
+includes += -I$(..)libpthread/include