diff options
Diffstat (limited to 'string/Makefile')
-rw-r--r-- | string/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/string/Makefile b/string/Makefile index bf4fb89..38b26a0 100644 --- a/string/Makefile +++ b/string/Makefile @@ -64,6 +64,12 @@ tests := tester inl-tester noinl-tester testcopy test-ffs \ # This test allocates a lot of memory and can run for a long time. xtests = tst-strcoll-overflow +# This test needs libdl. +ifeq (yes,$(build-shared)) +tests += test-strerror-errno +LDLIBS-test-strerror-errno = $(libdl) +endif + ifeq ($(run-built-tests),yes) tests-special += $(objpfx)tst-svc-cmp.out endif |