aboutsummaryrefslogtreecommitdiff
path: root/dlfcn/Makefile
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@codesourcery.com>2013-06-28 17:43:07 +0100
committerMaciej W. Rozycki <macro@codesourcery.com>2013-06-28 17:43:07 +0100
commit3d0f5d0c7a2de86575d68618352f7a5dfe7305fd (patch)
tree9eb636ac910bcdf4b55579694c4fe2bb8dfa7938 /dlfcn/Makefile
parentf91f1c0fb89056995f1c9c6a06c361efdf5139e7 (diff)
downloadglibc-3d0f5d0c7a2de86575d68618352f7a5dfe7305fd.tar
glibc-3d0f5d0c7a2de86575d68618352f7a5dfe7305fd.tar.gz
glibc-3d0f5d0c7a2de86575d68618352f7a5dfe7305fd.tar.bz2
glibc-3d0f5d0c7a2de86575d68618352f7a5dfe7305fd.zip
Add a dlopen/getpagesize static executable test.
Diffstat (limited to 'dlfcn/Makefile')
-rw-r--r--dlfcn/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/dlfcn/Makefile b/dlfcn/Makefile
index fca0951a5a..57a727189d 100644
--- a/dlfcn/Makefile
+++ b/dlfcn/Makefile
@@ -47,13 +47,14 @@ glreflib2.so-no-z-defs = yes
errmsg1mod.so-no-z-defs = yes
ifeq (yes,$(build-shared))
-tests += tststatic tststatic2 tststatic3 tststatic4
-tests-static += tststatic tststatic2 tststatic3 tststatic4
-modules-names += modstatic modstatic2 modstatic3
+tests += tststatic tststatic2 tststatic3 tststatic4 tststatic5
+tests-static += tststatic tststatic2 tststatic3 tststatic4 tststatic5
+modules-names += modstatic modstatic2 modstatic3 modstatic5
tststatic-ENV = LD_LIBRARY_PATH=$(objpfx):$(common-objpfx):$(common-objpfx)elf
tststatic2-ENV = $(tststatic-ENV)
tststatic3-ENV = $(tststatic-ENV)
tststatic4-ENV = $(tststatic-ENV)
+tststatic5-ENV = $(tststatic-ENV)
endif
extra-test-objs += $(modules-names:=.os)
@@ -112,6 +113,9 @@ $(objpfx)tststatic3.out: $(objpfx)tststatic3 $(objpfx)modstatic3.so
$(objpfx)tststatic4: $(objpfx)libdl.a
$(objpfx)tststatic4.out: $(objpfx)tststatic4 $(objpfx)modstatic3.so
+$(objpfx)tststatic5: $(objpfx)libdl.a
+$(objpfx)tststatic5.out: $(objpfx)tststatic5 $(objpfx)modstatic5.so
+
$(objpfx)bug-dlopen1: $(libdl)
$(objpfx)bug-dlsym1: $(libdl) $(objpfx)bug-dlsym1-lib2.so