summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2020-02-24 08:22:53 +0000
committerMichael Drake <michael.drake@codethink.co.uk>2020-02-24 08:22:53 +0000
commit3cceb8ff2b48a0ca0411109c1ad441064132fd6e (patch)
tree236df27cd0e1964e7ac1a67e558d8a9baac52d49 /test
parent360997c265c10a47a5421c4c1e74ece5a4d46725 (diff)
downloadnetsurf-3cceb8ff2b48a0ca0411109c1ad441064132fd6e.tar.gz
netsurf-3cceb8ff2b48a0ca0411109c1ad441064132fd6e.tar.bz2
Test: libmalloc_fig.so needs "-ldl".
Diffstat (limited to 'test')
-rw-r--r--test/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Makefile b/test/Makefile
index 34434c30d..82ffee6fa 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -165,7 +165,7 @@ TESTLDFLAGS := -L$(TESTROOT) \
# malloc faliure injection generator
$(TESTROOT)/libmalloc_fig.so:test/malloc_fig.c
- $(CC) -shared -fPIC -I. -std=c99 $(TEST_WARNFLAGS) $^ -o $@
+ $(CC) -shared -fPIC -I. -std=c99 $(TEST_WARNFLAGS) $^ -ldl -o $@
# Source files for all tests being compiled
TESTSOURCES :=