Test: libmalloc_fig.so needs "-ldl".

This commit is contained in:
Michael Drake 2020-02-24 08:22:53 +00:00
parent 360997c265
commit 3cceb8ff2b

View File

@ -165,7 +165,7 @@ TESTLDFLAGS := -L$(TESTROOT) \
# malloc faliure injection generator # malloc faliure injection generator
$(TESTROOT)/libmalloc_fig.so:test/malloc_fig.c $(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 # Source files for all tests being compiled
TESTSOURCES := TESTSOURCES :=