Test: libmalloc_fig.so needs "-ldl".
This commit is contained in:
parent
360997c265
commit
3cceb8ff2b
|
@ -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 :=
|
||||||
|
|
Loading…
Reference in New Issue