From 3cceb8ff2b48a0ca0411109c1ad441064132fd6e Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Mon, 24 Feb 2020 08:22:53 +0000 Subject: Test: libmalloc_fig.so needs "-ldl". --- test/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/Makefile') 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 := -- cgit v1.2.3